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

Re: what does "use of uninitialized value" really mean?

by AnomalousMonk (Chancellor)
on Jul 13, 2013 at 12:50 UTC ( #1044149=note: print w/replies, xml ) Need Help??


in reply to what does "use of uninitialized value" really mean?

Of course, you don't give us the exact error message or short, self-contained code that will produce it. Is it something like this?

>perl -wMstrict -le "my @ra = qw(a b c d); my $uninitialized; print $ra[3]; print '----------'; print $ra[$uninitialized]; print $ra[undef]; " d ---------- Use of uninitialized value $uninitialized in array element at -e line +1. a Use of uninitialized value in array element at -e line 1. a

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1044149]
help
Chatterbox?
and the monks are chillaxin'...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-11-20 05:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (284 votes). Check out past polls.

    Notices?