my $page = ""; $page = $query->param("page");
Don't do that if you want to test $page afterwards. Instead do something like this:
my $page = $query->param ('page') || '';
This way $page will always be defined, even if you don't have a param with the name "page".
In reply to Re: string initialization error
by hippo
in thread string initialization error
by *alexandre*
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |