Perl Operators   «Prev  Next»

Manipulate Perl String - Exercise

Manipulate Strings using Perl

Objective:Write a program that creates a string and manipulates it using the qq and qw operators.

Instructions

Write a program that uses the following techniques:
  1. Creates a string using the qq operator.
  2. Prompts for another string from the user, and concatenates it to the first string.
  3. Creates an array using the qw operator
  4. Display all the results to the console.

Paste your code in the area below and click the Submit button when you are finished.