Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Passing reference to subroutine

by kubrat (Scribe)
on Oct 03, 2008 at 09:02 UTC ( #715164=note: print w/replies, xml ) Need Help??


in reply to Passing reference to subroutine

Try to make a habit of using strict and warnigs in all of your perl scripts. That would have revealed the out of scope error that Narveson has told you about.

use strict; use warnings;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://715164]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2017-10-20 03:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (258 votes). Check out past polls.

    Notices?