Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: My coding guidelines

by strat (Canon)
on Nov 27, 2002 at 12:21 UTC ( #216076=note: print w/replies, xml ) Need Help??


in reply to Re: My coding guidelines
in thread My coding guidelines

Consering strict, I use the following rule:

Always use strict. If you can't do something with strict, think about if you really need to do it without strict, and if you really need to, disable the part of strict locally and explain why this has to be done, e.g.
if ( ... ) { # disabling strict refs temporary because of blabla..... no strict 'refs'; *{ $AUTOLOAD } = $codeReference; use strict 'refs'; }
++ Abigail-II

Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"

Replies are listed 'Best First'.
Re: Re: Re: My coding guidelines
by Anonymous Monk on Mar 25, 2004 at 09:28 UTC
    That's exactly right. use strict always does not mean you shouldn't no strict when appropriate :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://216076]
help
Chatterbox?
and nobody stirs...

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













    Results (61 votes). Check out past polls.