is nearly completely equivalent to:unless ($boolean) { ... }
(The slight difference is in the "last expression evaluated" return value for a subroutine, but that's only a minor distracting point.)if (not $boolean) { ... }
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to Re: equivalent code for unless
by merlyn
in thread unless statements
by root
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |