Kees Theunissen wrote: > if ( "missing$mailbox" eq "missing" ) { > ... > } > Perl is not shell; it's safe to do: if (! $mailbox ) { ... } Unless you happen to have a mailbox named "0". Then you need: if (!defined($mailbox) || $mailbox eq '') { ... } Regards, David.