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