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

Re^2: local vs my (when to use strict, inheriting maintenance)

by Flexx (Pilgrim)
on Sep 03, 2002 at 10:08 UTC ( #194718=note: print w/ replies, xml ) Need Help??

in reply to Re: local vs my
in thread local vs my

Hmmm.. IMHO, it depends on the forseeable future such a script will be exposed to. If you know you will change/add to the script again, I'd rather start using strict sooner than later... If that, however, keeps me from accomplishing my work at the time I planned, I'd chuck it, without second thought, too.

Regardless of that, if I'd inherit maintenance of someone else's obsolete script, the first thing I'd do anyway is to work through the code (most likely making lots of changes). And I'd be sure to cure it from overuse of local, no matter whether I use strict or not.

It's not about blindly obeying the strict dogma -- it's about bringing the script up to date.

So long,

Comment on Re^2: local vs my (when to use strict, inheriting maintenance)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2015-10-04 20:47 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (104 votes), past polls