http://qs321.pair.com?node_id=105407


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