Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: Re: Undeclared CGI???

by YuckFoo (Abbot)
on Aug 13, 2003 at 21:03 UTC ( [id://283689]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Undeclared CGI???
in thread Undeclared CGI???

To get the CGI Vars method, you must import the :cgi-lib functions. Add it to your 'use CGI' line. Read all about it here: perldoc CGI

use CGI qw(:standard :cgi-lib);

YuckUse

Replies are listed 'Best First'.
Re: Re: Re: Re: Undeclared CGI???
by Nickd_69 (Novice) on Aug 14, 2003 at 02:14 UTC
    Tried what you said but still getting the same error Undefined subroutine CGI::Vars. I am not trying to debug the script usng perl on my computer but running the script on my web server which then brings the errors up. Undeclared to me sounds like the code is wrong. Any other ideas. Shouldn't that CGI module which is a pretty common one be working on my web server? Any other ideas anyone? Going through my code line by line is pointless cause as soon as I get down a few lines the same thing happens.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-03-28 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found