in reply to Re: Lexical variables question
in thread Testing for filled-in box with CGI::param() ?

if ($var ne '')
That will emit a warning. You need to test definedness first.

Makeshifts last the longest.