Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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 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?


Comment on Re: Perl, Apache, Dr. Watson, and my scripts
Download Code
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
Node Status?
node history
Node Type: note [id://105407]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2014-08-20 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (113 votes), past polls