|
|
| Just another Perl shrine | |
| PerlMonks |
Re: what is benefit of unless ?by Anonymous Monk |
| on Feb 05, 2005 at 12:04 UTC ( #428302=note: print w/ replies, xml ) | Need Help?? |
|
You can use "else" with "unless". "unless" means "if not", so it reverses the meaning of an "if" comparison. See perlsyn for details. Please read Where should I post X? and How (Not) To Ask A Question.
In Section
Tutorials
|
|
||||||||||||||||||||||||||