|
|
| Do you know where your variables are? | |
| PerlMonks |
Re^2: Perl Idioms Explained - !!exprby davidrw (Prior) |
| on Nov 04, 2005 at 21:55 UTC ( [id://505935]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I would also mention just a simple ternary operator as an alternative:
or, more generally the equivalent to !!$expr is (some of the parens are optional depending on context):
In Section
Tutorials
|
|
||||||||||||||||||||||||