Merge branch 'master' of http://repo.or.cz/r/msysgit into devel
[msysgit/historical-msysgit.git] / lib / perl5 / 5.6.1 / msys / IO.pm
blob0087530c7e630f5e722e6014dff879bc73bdf968
3 package IO;
5 use XSLoader ();
6 use Carp;
8 $VERSION = "1.20";
9 XSLoader::load 'IO', $VERSION;
11 sub import {
12 shift;
13 my @l = @_ ? @_ : qw(Handle Seekable File Pipe Socket Dir);
15 eval join("", map { "require IO::" . (/(\w+)/)[0] . ";\n" } @l)
16 or croak $@;
21 __END__
23 =head1 NAME
25 IO - load various IO modules
27 =head1 SYNOPSIS
29 use IO;
31 =head1 DESCRIPTION
33 C<IO> provides a simple mechanism to load some of the IO modules at one go.
34 Currently this includes:
36 IO::Handle
37 IO::Seekable
38 IO::File
39 IO::Pipe
40 IO::Socket
41 IO::Dir
43 For more information on any of these modules, please see its respective
44 documentation.
46 =cut