Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: A way to report open file handles a Perl script has open?

by kennethk (Abbot)
on Apr 04, 2017 at 18:11 UTC ( #1187029=note: print w/replies, xml ) Need Help??

in reply to A way to report open file handles a Perl script has open?

Anonymous Monk has answered the immediate question (say my $v=()=`lsof -p $$`), but the following grabbed my attention:
leaking file handles like a sieve
What is the mechanism here? Lexical filehandles generally address this problem, but will obviously linger if you are stashing them in a persistent data structure.

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2020-06-05 04:12 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (35 votes). Check out past polls.