in reply to Re: testing a non-existant hash entry...how to handle
in thread testing a non-existant hash entry...how to handle
Now can just use the 'exists' check to find if you have a particular input Just another way of doing it....my $query = new CGI; my %inputs = $query->Vars; # All params passed in now in hash # Now can just use exists check to see if we have it if(exists $input{'page'} && exists $input{'page'} ne '') { # Do stuff } else { }
|
|---|