Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: When -w and use strict aren't enough...

by ikegami (Pope)
on Jun 15, 2006 at 22:24 UTC ( #555650=note: print w/ replies, xml ) Need Help??


in reply to Re^2: When -w and use strict aren't enough...
in thread When -w and use strict aren't enough...

Don't know, but one downside (upside?) is that your functions are no longer accessible from outside the package. That can easily be fixed by doing one of the following for exportable functions:

*handleNewYear = my $handleNewYear = sub { # do something really useful };
sub handleNewYear { # do something really useful } my $handleNewYear = \&handleNewYear;


Comment on Re^3: When -w and use strict aren't enough...
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2015-09-01 06:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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













    Results (367 votes), past polls