in reply to CGI::Vars doesn't return anything

I think you are looking for this usage (courtesy of the CGI man page:
use CGI ':cgi-lib'; $params = Vars;
As for errors, perhaps you should use strict;

Replies are listed 'Best First'.
Re: Re: CGI::Vars doesn't return anything
by Anonymous Monk on Aug 06, 2001 at 15:26 UTC
    are you telling me that use CGI qw(Vars);# wouldn't work?
    looks like valid syntaxt to me (but i have been wrong often).
    I am using strict and warnings.
    Is it just the nature of CGI (somewhat unlike other modules) that it does not throw errors?