in reply to Testing for filled-in box with CGI::param() ?
This has nothing at all to do whether $var is a lexical variable or not.
Abigail