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

Re: uninitialized error

by nvivek (Vicar)
on Feb 27, 2013 at 05:40 UTC ( #1020803=note: print w/ replies, xml ) Need Help??


in reply to uninitialized error

Uninitialized error would raise, whenever you try to access the value of scalar, array or hash in perl. To validate it, as per moritz use defined function which would give false when the value is undefined. It is better to use string and warnings in a perl program to get warning messages and alert for undeclared scalars, arrays, hashes used in the program.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (15)
As of 2016-07-26 17:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (239 votes). Check out past polls.