In addition to davorg's valid criticism, your if ($var) test is less-than-optimal if zero is a valid value for the param, which it probably is...
--In reply to Re: Re: Lexical variables question
by edan
in thread Testing for filled-in box with CGI::param() ?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |