No such thing as a small change | |
PerlMonks |
Re: Testing for a directory handleby salva (Canon) |
on Jan 29, 2018 at 09:40 UTC ( [id://1208033]=note: print w/replies, xml ) | Need Help?? |
I was going to point you into B::IO direction, but it seems that information is not exposed there either.
You could write a little XS module to look into the xpvio structure. I think the dirp slot is the one telling you it is an open directory handle.
In Section
Seekers of Perl Wisdom
|
|