in reply to equivalent code for unless
in thread unless statements

unless ($boolean) { ... }
is nearly completely equivalent to:
if (not $boolean) { ... }
(The slight difference is in the "last expression evaluated" return value for a subroutine, but that's only a minor distracting point.)

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.