IO(3pm)

🌸 NAME 🌸

okay so this page is for IO β€” yes, the IO(3pm) manual, bestie β€” and its whole personality is literally β€œload various IO modules.” that’s the vibe. πŸ’…

✨ SYNOPSIS ✨

here’s the group-chat invite, no cap:

   use IO qw(Handle File); # loads IO modules, here IO::Handle, IO::File
   use IO;                 # DEPRECATED

the second one is giving deprecated energy, but we’ll get there. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

IO provides a simple mechanism to load several of the IO modules in one go. one little import, so many modules β€” iconic behavior fr fr. πŸ’–

the IO modules belonging to the core are:

IO::Handle
IO::Seekable
IO::File
IO::Pipe
IO::Socket
IO::Dir
IO::Select
IO::Poll

some other IO modules don’t belong to the perl core, but they can be loaded as well if they have been installed from CPAN. you can discover which ones exist with this query: <https://metacpan.org/search?q=IO%3A%3A>.

for more information on any of these modules, please see its respective documentation. yes bestie, each one has its own doc era. 🌈

πŸ’€ DEPRECATED πŸ’€

okay so this next one is deprecated, and I need you to hear me clearly: πŸ’…

   use IO;                # loads all the modules listed below

the loaded modules are IO::Handle, IO::Seekable, IO::File, IO::Pipe, IO::Socket, IO::Dir. you should instead explicitly import the IO modules you want. periodt. don’t let deprecated behavior become your main character energy. 🫢


okay bye bestie β€” this page is perl v5.42.3, dated 2026-11-03, and it’s IO(3pm). slay! πŸŽ€

πŸ“¦ where this page comes from