Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by ioannis (Vicar)
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 studying the Monastery: (11)
As of 2015-07-08 02:57 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 (93 votes), past polls