Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

(ar0n) Re: Error when script is on new IIs server from %FORM=$q-Vars

by ar0n (Priest)
on Dec 13, 2001 at 10:32 UTC ( [id://131556]=note: print w/replies, xml ) Need Help??


in reply to Error when script is on new IIs server from %FORM=$q-Vars

Err, why are you using CGI::Vars in the first place? It's old (from cgi-lib, I believe). Use param instead:
my @labels = qw(topic words pass name textsize topicsize); my %form = map { $_ => $q->param($_) } @labels;

[ ar0n -- want job (boston) ]

  • Comment on (ar0n) Re: Error when script is on new IIs server from %FORM=$q-Vars
  • Download Code

Replies are listed 'Best First'.
Re: (ar0n) Re: Error when script is on new IIs server from %FORM=$q-Vars
by cfreak (Chaplain) on Dec 14, 2001 at 00:27 UTC
    Not true. Newer versions on CGI.pm Have a Vars subroutine for importing to a hash. Very useful :). jerrygarciuh probably just has an older version. I believe its versions 2.56 and above that have it but don't quote me on that :)

    Chris

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://131556]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-19 13:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found