Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by andyford (Curate)
on Jun 15, 2006 at 21:56 UTC ( #555645=note: print w/ replies, xml ) Need Help??


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

This intrigues me.
but
Why do you say "Probably don't want to..."?
because
"it's too much work"?
or because
"it's dangerous/bad/ugly"?


Comment on Re^2: When -w and use strict aren't enough...
Re^3: When -w and use strict aren't enough...
by ikegami (Pope) on Jun 15, 2006 at 22:24 UTC
    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;
Re^3: When -w and use strict aren't enough...
by tilly (Archbishop) on Jun 17, 2006 at 01:09 UTC
    Because it is ugly. And will be sure to generate negative comments from any maintainance programmer. And cannot be mixed with OO techniques.

    Other than that, it is a veru good idea. But its goodness is simply not worth the arguments that you're bound to generate.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2014-07-11 16:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (232 votes), past polls