in reply to Passing 'SELECT MULTIPLE' parameters and CGI
However whilst what I have in the called perl program may be wrong - since I can see in the error log I'm getting the error "Can't call method "param" on an undefined value"
$query is undefined because you never created it. Add use strict; and use warnings; to the head of your script. Then decide how you want to use the CGI module: Choose between OOP way and non-OOP way. For the OOP way, create an instance of the CGI class: my $query=CGI->new();. For the non-OOP way, call param() as a function, not as a method, i.e. remove $query->.
Alexander
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Passing 'SELECT MULTIPLE' parameters and CGI
by viffer (Beadle) on Aug 17, 2010 at 16:43 UTC | |
by ikegami (Patriarch) on Aug 17, 2010 at 16:56 UTC | |
by afoken (Chancellor) on Aug 17, 2010 at 20:17 UTC | |
by ikegami (Patriarch) on Aug 17, 2010 at 22:24 UTC | |
by fullermd (Vicar) on Aug 17, 2010 at 23:54 UTC |