in reply to Print a string X times?
This is my personal favorite:
local $, = ' '; print +('-') x $length,"\n";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Print a string X times?
by targetsmart (Curate) on Aug 04, 2010 at 07:45 UTC | |
by pid (Monk) on Aug 04, 2010 at 08:27 UTC | |
by GrandFather (Saint) on Aug 04, 2010 at 09:35 UTC | |
Re^2: Print a string X times?
by Skeeve (Parson) on Aug 04, 2010 at 07:52 UTC |
In Section
Seekers of Perl Wisdom