Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: repeat characters in textby Albannach (Monsignor) |
on May 02, 2007 at 17:46 UTC ( [id://613224]=note: print w/replies, xml ) | Need Help?? |
You have the right idea, you just need a different operator - print 'a', '!' x 5; will do it. Though Perl doesn't care, I prefer not to use double quotes unless I expect interpolation to be taking place.
--
In Section
Seekers of Perl Wisdom
|
|