I changed it to 'use CGI'.
There were problems at first because in my code I had lines such as 'print header' and 'my $action = param('query'). I think those caused the script to die. I changed the former to 'print $q->header' and the latter to '$action = $q->param('query') and the script works like before. cheers :)
In reply to Re: Re: use CGI vs use CGI qw(:standard)
by kiat
in thread use CGI vs use CGI qw(:standard)
by kiat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |