No such thing as a small change | |
PerlMonks |
Re^2: How to find all open STDERR and STDOUT dups?by educated_foo (Vicar) |
on Apr 01, 2009 at 01:11 UTC ( [id://754583]=note: print w/replies, xml ) | Need Help?? |
You actually want to stat stuff and compare the resulting device, inode, etc. fileno returns the descriptor, but dup creates a new file descriptor pointing to the same underlying file.
In Section
Seekers of Perl Wisdom
|
|