G'day OfficeLinebacker,
Two lines immediately leapt out at me as being problematic:
... }elsif (param('submit')){ ... }elsif(param->('submitToGoogle')){ ...
In both cases, I believe you want '...$q->param(...'. There's also four instances of using 'param(...)' instead of '$q->param(...)'. You don't import any functions (e.g. use CGI qw{:standard};) when you load CGI which suggests you want OO style. I suspect mixing OO and non-OO styles is causing you problems. CGI - PROGRAMMING STYLE explains the differences.
Adding 'use warnings;' to your script may find other issues.
-- Ken
In reply to Re: Flummoxed by CGI problems
by kcott
in thread Flummoxed by CGI problems
by OfficeLinebacker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |