Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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]
[markong]: " Perl: the Markov chain saw" :D aha
[Discipulus]: thanks 1nickt but seems i'm not able to use it correctly...
[Discipulus]: Eily i'm testing a failure: i ok if i get bad results.. perhaps there is another way to do it...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2018-01-22 11:28 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (233 votes). Check out past polls.