The stupid question is the question not asked | |
PerlMonks |
Re: Code blocks with ternary operator or trailing conditionalsby Athanasius (Archbishop) |
on Feb 09, 2014 at 02:49 UTC ( [id://1074086]=note: print w/replies, xml ) | Need Help?? |
Just use do blocks:
Output:
See do. Hope that helps,
In Section
Seekers of Perl Wisdom
|
|