#! /usr/local/bin/perl # This is an example of string repition $string1 = "noel"; $string2 = $string1 x 3; #repeat the string three times and assign it print "$string2\n";