Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: My coding guidelines

by strat (Canon)
on Nov 27, 2002 at 12:21 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://216076]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (8)
As of 2024-03-28 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found