Undefined subroutine CGI::Vars
Next message: Norman Ackroyd: "Hash of Structs in a Package, is there an easier way?"
Date: Mon, 26 Jul 2004 14:13:25 GMT
I want to store my request variables as a hash and have the code:
use CGI qw(:standard);
use CGI qw(:cgi-lib);
use CGI::Carp qw(fatalsToBrowser);
use strict;
my $q = new CGI;
my $params = $q->Vars;
but the server is giving me an error message:
"Undefined subroutine CGI::Vars"
but I'm not sure why.
Thanks
Mark
Next message: Norman Ackroyd: "Hash of Structs in a Package, is there an easier way?"
Relevant Pages
- Re: Undefined subroutine CGI::Vars
... put Perl errors to the browser ... > use strict; ... scalar to stora Vars when it should be a hash to collect all. ... use CGI; # Object Oriented Interface ... (comp.lang.perl.misc) - RE: need help
... : Charles K. Clarkson wrote: ... is a file scoped CGI object better than a file ... just as easily pass a hash ref. ... Personally I find it much more important that beginner CGI ... (perl.beginners) - Re: newbie: need to put form data into associative array
... > perldoc CGI ... it returns the parameter list as a tied hash reference. ... > a key changes the value of the parameter in the underlying CGI parameter ... I am the sexiest man in the UuuuKaaaayy ... (comp.lang.perl.misc) - Re: newbie: need to put form data into associative array
... perldoc CGI ... it returns the parameter list as a tied hash reference. ... a key changes the value of the parameter in the underlying CGI parameter ... Called in a list context, it returns the parameter list as an ... (comp.lang.perl.misc) - Re: Bareword errors?
... use warnings; ... Have a look at the CGI module - it's ... nonsensical names like %HASH? ... Web Hosting by West Virginians, ... (comp.lang.perl.misc) |
|