Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: switch statementby BillKSmith (Monsignor) |
on Oct 01, 2015 at 16:52 UTC ( [id://1143589]=note: print w/replies, xml ) | Need Help?? |
In the case (no pun) that your intention is compute a single value, you can use the ternary operator:
Bill
In Section
Seekers of Perl Wisdom
|
|