go ahead... be a heretic | |
PerlMonks |
Re^2: Statement modifier thingieby Anonymous Monk |
on Mar 01, 2012 at 04:14 UTC ( [id://957089]=note: print w/replies, xml ) | Need Help?? |
'K, I'll try to say it a different way: is there a way for me to use a
statement modifier like print "$_\n" for 1..3 and add
something to the end of it, like an extra newline, that doesn't mess with
the loop but just gets printed after it? I've tried parens, brackets,
commas, the dot, and mayonnaise with ketchup smeared nice and even, but
none of it works (and some is pretty messy.) Is there a way to do it?
In Section
Seekers of Perl Wisdom
|
|