"be consistent" | |
PerlMonks |
Re: How scoping works in If statements?by mjemmeson (Monk) |
on May 30, 2008 at 08:46 UTC ( [id://689156]=note: print w/replies, xml ) | Need Help?? |
if you want to assign conditionally only using one line try the ternary operator:
In Section
Seekers of Perl Wisdom
|
|