diff options
Diffstat (limited to 'contrib/perl5/ext/IO/IO.pm')
-rw-r--r-- | contrib/perl5/ext/IO/IO.pm | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/contrib/perl5/ext/IO/IO.pm b/contrib/perl5/ext/IO/IO.pm deleted file mode 100644 index 0087530..0000000 --- a/contrib/perl5/ext/IO/IO.pm +++ /dev/null @@ -1,47 +0,0 @@ -# - -package IO; - -use XSLoader (); -use Carp; - -$VERSION = "1.20"; -XSLoader::load 'IO', $VERSION; - -sub import { - shift; - my @l = @_ ? @_ : qw(Handle Seekable File Pipe Socket Dir); - - eval join("", map { "require IO::" . (/(\w+)/)[0] . ";\n" } @l) - or croak $@; -} - -1; - -__END__ - -=head1 NAME - -IO - load various IO modules - -=head1 SYNOPSIS - - use IO; - -=head1 DESCRIPTION - -C<IO> provides a simple mechanism to load some of the IO modules at one go. -Currently this includes: - - IO::Handle - IO::Seekable - IO::File - IO::Pipe - IO::Socket - IO::Dir - -For more information on any of these modules, please see its respective -documentation. - -=cut - |