in reply to Re: Print a string X times?
in thread Print a string X times?
in the statement print +('-') x $length , "\n";
Vivek
-- 'I' am not the body, 'I' am the 'soul/consciousness', which has no beginning or no end, no attachment or no aversion, nothing to attain or lose.
the +('-') does some magic which I don't understand, could you please explain that statement..
Vivek
-- 'I' am not the body, 'I' am the 'soul/consciousness', which has no beginning or no end, no attachment or no aversion, nothing to attain or lose.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Print a string X times?
by pid (Monk) on Aug 04, 2010 at 08:27 UTC | |
Re^3: Print a string X times?
by GrandFather (Saint) on Aug 04, 2010 at 09:35 UTC |
In Section
Seekers of Perl Wisdom