Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Perl, Apache, Dr. Watson, and my scripts

by azatoth (Curate)
on Aug 16, 2001 at 19:39 UTC ( [id://105407]=note: print w/replies, xml ) Need Help??


in reply to Perl, Apache, Dr. Watson, and my scripts

Off the top of my head :

use strict on? use warnings /-w switch on? These usually help you located the "uninitialized value".

This error basically means you have assigned a variable and are trying to pass it through a CGI.pm function. The error is being thrown at you because it's saying "Hey! $variable is empty buddy! What are you trying to pull?". When you find the variable that isn't being assigned, use some debugging methods (like a whole bunch of print "Variable is here : $variable\n" to track down the problem...

Update : If you still have no luck, post your code here. Use code tags, and also use ReadMore tags. Check out Writeup Formatting Tips for explanations...

Azatoth a.k.a Captain Whiplash

Make Your Die Messages Full of Wisdom!
Get YOUR PerlMonks Stagename here!
Want to speak like a Londoner?

Replies are listed 'Best First'.
Re: Re: Perl, Apache, Dr. Watson, and my scripts
by MrCromeDome (Deacon) on Aug 16, 2001 at 19:44 UTC
    Yeah, I have both use strict and the -w option at the top of my script, and CGI::Carp in case my script dies unexpectedly.

    I'll start throwing in some print statements. . . I don't make a lot of calls to CGI in this particular script, so hopefully it won't take long to find.

    Thanks!
    MrCromeDome

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (1)
As of 2024-04-19 00:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found