more useful options | |
PerlMonks |
Re: Compound statements within the conditional (ternary) operatorby mr_ron (Chaplain) |
on Apr 14, 2018 at 13:02 UTC ( [id://1212871]=note: print w/replies, xml ) | Need Help?? |
Mostly what AnomalousMonk said. The first paragraph on ?: in Programming Perl (4th ed) talks about it being an operator and expression similar to if-then-else which is a flow control statement. A hopefully simpler example:
Ron
In Section
Seekers of Perl Wisdom
|
|