in reply to what is benefit of unless ?
in thread unless statements
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
equivalent code for unless
by Anonymous Monk on Feb 05, 2005 at 12:15 UTC | |
by merlyn (Sage) on Feb 05, 2005 at 13:04 UTC | |
A reply falls below the community's threshold of quality. You may see it by logging in. |