http://qs1969.pair.com?node_id=1187218


in reply to Track open file handles

It is cool and it well answer to nysus's original question.

thanks to have mentioned me even if i've done nearly nothing; I was playng with the, never seen before, ${^LAST_FH} variable. with no success.

The resulting module can be helpful in some situation: developping a many files to read application or injecting it into existing codebase to spot fh leaks.

To be complete it can be worth to add some optional overrides: sysopen , opendir closedir for example.

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.