Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by ioannis (Prior)
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2016-12-05 03:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (71 votes). Check out past polls.