"be consistent" | |
PerlMonks |
Re: in search of a more elegant if then elseby toolic (Bishop) |
on Feb 18, 2010 at 23:53 UTC ( [id://824061]=note: print w/replies, xml ) | Need Help?? |
The Conditional Operator is another way. You should decide, on a case-by-case basis, if it is better than an if/else.
In Section
Seekers of Perl Wisdom
|
|