Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Keep It Simple, Stupid
 
PerlMonks  

Function CGI::Object::Vars does not exist

by Anonymous Monk
on Jul 29, 2001 at 18:17 UTC ( [id://100702]=perlquestion: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.

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 LD2 (Curate) on Jul 29, 2001 at 18: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.
Re: Function CGI::Object::Vars does not exist
by miyagawa (Chaplain) on Jul 29, 2001 at 18: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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://100702]
Approved by root
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.