Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Ignorance Isnt Always Bliss

by jrtayloriv (Pilgrim)
on Feb 12, 2008 at 02:58 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-19 15:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found