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

Re: Ignorance Isnt Always Bliss

by jrtayloriv (Pilgrim)
on Feb 12, 2008 at 02:58 UTC ( #667497=note: print w/replies, xml ) Need Help??

in reply to Ignorance Isnt Always Bliss

One thing I often find useful for figuring out what error messages mean is perldoc perldiag, which contains somewhat helpful, albeit very brief, explanations for each error message. Or you can just add "use diagnostics" at the top of your source.

Although they won't usually have enough information to tell you exactly what happened, in this case, the description in perldiag might have pointed you in the right direction. It reads:

You tried to make an array value spring into existence, and the subscript was probably negative, even counting from end of the array backwards.

Which might have pointed you to the fact that your problem involved doing something to an array that had not been created, or a negative subscript.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2020-12-01 06:03 GMT
Find Nodes?
    Voting Booth?

    No recent polls found