in reply to
Print a string X times?
print '-' x $number;
[download]
Comment on
Re: Print a string X times?
Download
Code
Replies are listed 'Best First'.
Re^2: Print a string X times?
by
rastoboy
(Monk)
on Aug 04, 2010 at 00:01 UTC
OMG lol. I knew I'd seen something simple like that.
Thank you very much.
[reply]
In Section
Seekers of Perl Wisdom