On Wed, Aug 08, 2007 at 09:20:50PM -0700, Colin Kuskie wrote: > # New Ticket Created by Colin Kuskie > # Please include the string: [perl #44511] > # in the subject line of all future correspondence about this issue. > # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=44511 > > > > repeat isn't an operator, it's a function in this context. > Describe what it does. >
<deleted/> > $S0 = "Hello " > $S1 = repeat $S0, 3 > > - say $S1 > + say $S1 #prints "Hello Hello Hello\n" Nitpicking ... Should be > + say $S1 #prints "Hello Hello Hello \n" Since there is a trailing space in $S0 I expect to see one before the \n character, too. Bob
