1IO(3pm) Perl Programmers Reference Guide IO(3pm)
2
3
4
6 IO - load various IO modules
7
9 use IO qw(Handle File); # loads IO modules, here IO::Handle, IO::File
10 use IO; # DEPRECATED
11
13 "IO" provides a simple mechanism to load several of the IO modules in
14 one go. The IO modules belonging to the core are:
15
16 IO::Handle
17 IO::Seekable
18 IO::File
19 IO::Pipe
20 IO::Socket
21 IO::Dir
22 IO::Select
23 IO::Poll
24
25 Some other IO modules don't belong to the perl core but can be loaded
26 as well if they have been installed from CPAN. You can discover which
27 ones exist with this query: <https://metacpan.org/search?q=IO%3A%3A>.
28
29 For more information on any of these modules, please see its respective
30 documentation.
31
33 use IO; # loads all the modules listed below
34
35 The loaded modules are IO::Handle, IO::Seekable, IO::File, IO::Pipe,
36 IO::Socket, IO::Dir. You should instead explicitly import the IO
37 modules you want.
38
39
40
41perl v5.38.2 2023-11-30 IO(3pm)