Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I just transferred some CGI stuff from a server with 5.6.0 (sparc) to a server with 5.6.1 (i686). Cpan.pm insists the CGI is up to date, yet I get the error:
Function CGI::Object::Vars does not exist
Any ideas? Thanks.

Replies are listed 'Best First'.
Re: Function CGI::Object::Vars does not exist
by miyagawa (Chaplain) on Jul 29, 2001 at 22:37 UTC
    CGI.pm 3.x seems not have Vars() method you want. You should use CGI.pm 2.76 instead. Try this:

    cpan> install L/LD/LDS/CGI.pm-2.76.tar.gz

    --
    Tatsuhiko Miyagawa
    miyagawa@cpan.org

Re: Function CGI::Object::Vars does not exist
by LD2 (Curate) on Jul 29, 2001 at 22:30 UTC
    Which version of CGI is installed? I believe it's due to the CGI being version of 3.* - that's still in alpha stage. Re-install version 2.76 and see if that fixes the problem.