|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: Short form (ternary) if elseby Riales (Friar) |
| on Feb 08, 2012 at 19:59 UTC ( #952570=note: print w/ replies, xml ) | Need Help?? |
|
I think what you're looking for is this: Also, in your if/else statement, if you declare $vxdg inside the if/else like you are doing, it goes out of scope by the time you get out of the if/else block.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||