Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Can't use an undefined value as an ARRAY reference

by andye (Curate)
on Jan 09, 2009 at 10:03 UTC ( #735138=note: print w/ replies, xml ) Need Help??


in reply to Can't use an undefined value as an ARRAY reference

You might also find 'use diagnostics;' useful - put this at the top of your program and it'll give you more explainey error messages.


Comment on Re: Can't use an undefined value as an ARRAY reference
Replies are listed 'Best First'.
Re^2: Can't use an undefined value as an ARRAY reference
by Anonymous Monk on Mar 17, 2010 at 06:08 UTC
    Hello, if $dataSet{results} is parsed from a user input file for example, and we would want to give user the flexibility of defining and not defining this array depending on their applications, is there a way I could get around this without getting the error of "undefined value as an ARRAY reference" ? Thanks!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (12)
As of 2015-07-30 05:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls