Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: What is refactoring?

by adrianh (Chancellor)
on Nov 10, 2002 at 15:59 UTC ( #211762=note: print w/ replies, xml ) Need Help??


in reply to Re^2: What is refactoring?
in thread Cannot read in multiple lines

Localizing a typeglob to get a scope-bound filehandle is not necessarily a good idea for various other reasons as well.

Oh. Didn't know there were other possible problems. What are they?

I know of the gensym solution for early perls - but since 99% of the time overriding the non-IO bits of the glob hasn't been an issue for me I stuck with the local method when I couldn't autovivify the filehandle.

Curious to know what the other possible pitfalls are.


Comment on Re^3: What is refactoring?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (13)
As of 2014-10-23 06:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (124 votes), past polls