10 our $VERSION = "1.20";
11 XSLoader::load 'IO', $VERSION;
16 warnings::warnif('deprecated', qq{parameterless "use IO" deprecated})
19 my @l = @_ ? @_ : qw(Handle Seekable File Pipe Socket Dir);
21 eval join("", map { "require IO::" . (/(\w+)/)[0] . ";\n" } @l)
31 IO - load various IO modules
35 use IO qw(Handle File); # loads IO modules, here IO::Handle, IO::File
40 C<IO> provides a simple mechanism to load several of the IO modules
41 in one go. The IO modules belonging to the core are:
52 Some other IO modules don't belong to the perl core but can be loaded
53 as well if they have been installed from CPAN. You can discover which
54 ones exist by searching for "^IO::" on http://search.cpan.org.
56 For more information on any of these modules, please see its respective
61 use IO; # loads all the modules listed below
63 The loaded modules are IO::Handle, IO::Seekable, IO::File, IO::Pipe,
64 IO::Socket, IO::Dir. You should instead explicitly import the IO