|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: repeat characters in textby Albannach (Prior) |
| on May 02, 2007 at 17:46 UTC ( #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
|
|
||||||||||||||||||||||