Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Re: Determining indirect filehandles

by Masem (Monsignor)
on Jan 23, 2002 at 23:27 UTC ( #140990=note: print w/ replies, xml ) Need Help??

in reply to Re: Determining indirect filehandles
in thread Determining indirect filehandles

I would think most good programmers would not have a problem with running strict at all times, but in case they don't, the latter case can be easily resolved using:

ref( $fh ) && defined eval { fileno $fh }
(At least, the quick spot checks that I've done indicate this works as expected for different indirect filehandle types).

Dr. Michael K. Neylon - || "You've left the lens cap of your mind on again, Pinky" - The Brain
"I can see my house from here!"
It's not what you know, but knowing how to find it if you don't know that's important

Comment on Re: Re: Determining indirect filehandles
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2015-07-03 08:41 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (49 votes), past polls