in reply to Testing for filled-in box with CGI::param() ?

No. If it's possible for param to return "undef" then defined $var can be false.

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Replies are listed 'Best First'.
Re: Re: Lexical variables question
by sweetblood (Prior) on Aug 12, 2003 at 14:18 UTC
    But only a return of "undef" will cause defined to be false, anything else and $var is still defined, even a blank.