Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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

by azatoth (Curate)
on Aug 16, 2001 at 19:39 UTC ( #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 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.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2020-06-02 05:40 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (13 votes). Check out past polls.