On Wed, Mar 08, 2000 at 09:12:52AM -0700, Tom Christiansen wrote:
> >On Wed, Mar 08, 2000 at 07:48:11AM -0700, Tom Christiansen wrote:
> >> I'd like to submit the following module for consideration of being
> >> placed on CPAN. I am unattached to the name, and am mailing you
> >> with the hope that you might either bless this name, or suggest
> >> others that would be more acceptable.
> >>
> >> --tom
> >>
> >> begin 644 Stat-DumpFDs-0.01.tar.gz
> >> M'XL(""V9PC@"`U-T870M1'5M<$9$<RTP+C`Q+G1A<@#M'/UWVD8ROZ*_8HJ=
> >> M`%>,P6#["DGN",@Q+QAX@!OWM7U42`OH+"2JC]A<D__]9G970N+#29O4N;ZB
>
> >Just posting the docs in plain text will improve your chances of
> >getting a reply from busy people.
>
> Well, I *thought* I was doing the right thing, but I see that I
> neglected to give you the critical information extracted from the
> tarfile without which of course you can't say yes or no or maybe,
> which is to tell you that this is a Perl extension to dump open
> file descriptors, generally for debugging file descriptor leaks or
> anomalies in system programming jobs. The docs are pretty
> straightforward, although perhaps sparse. This is a very simple
> XS module.
>
> =head1 NAME
>
> Stat::DumpFDs - Perl extension to dump open file descriptors
>
> =head1 SYNOPSIS
>
> use Stat::DumpFDs;
> dump_dtable();
>
> =head1 DESCRIPTION
>
> Debugging tool to show all open file descriptors with their flags.
> Two functions are exported: dump_dtable(), which prints to standard
> output, and getdtablesize(), which runs the standard library function.
>
> =head1 AUTHOR
>
> Tom Christiansen
>
> =head1 SEE ALSO
>
> getdtablsize(3), fstat(2), fcntl(2), open(2)
>
> =cut
>
> That's all there is. Stat::DumpFDs::getdtablsize just calls the
> standard getdtablsize(3) function from libc. Stat::DumpFDs::dump_dtable
> does just what it says it does: it dumps out your descriptor table.
Devel::* would suit as it's obviously a development/debug tools that
wouldn't be part of the normal operation of an application.
I'd suggest
Devel::DumpFDs
Devel::DumpStatFDs
but
Stat::DumpFDs
isn't that bad.
Tim.