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.
In Section
Seekers of Perl Wisdom