&CGI::param is a method sub, parens are correct. The uninitialized value message means that either $q doesnt exist or there is no field called 'field' in the cgi data. Browsers generally don't return empty fields in POST, so not defined $q->param('field') might be an advisable as an additional test.
After Compline,
Zaxo
In reply to Re: Debug pukes here.
by Zaxo
in thread Uninitialised value in string error(was: Debug pukes here.)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |