![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re: if variantsby Chady (Priest) |
on Oct 19, 2004 at 11:53 UTC ( #400480=note: print w/replies, xml ) | Need Help?? |
regarding the precedence, you can also use the and and or variants who have lower precendence so that you can have assignements work. Here's a rough example with nested ifs and an else
can become:
He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life. Chady | http://chady.net/
Are you a Linux user in Lebanon? join the Lebanese Linux User Group.
In Section
Meditations
|
|