Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Not exactly Dereferencing... but in that ball park

by ioannis (Parson)
on Nov 19, 2005 at 20:07 UTC ( #510142=note: print w/ replies, xml ) Need Help??


in reply to Not exactly Dereferencing... but in that ball park

Be careful with your lexical variables, besides the compilation errors.

my ($error,$alert,$warning);

All soft-references to ${'error'} in the program refer to global $::error, and not to the lexical variable $error. (Same observations for variables $alert and $warnings; therefore, there was no need to declare them since they are not used.)


Comment on Re: Not exactly Dereferencing... but in that ball park

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2015-08-31 23:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (366 votes), past polls