diff options
author | Glenn Becker <glenn.becker@gmail.com> | 2015-12-05 00:13:29 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-12-05 00:13:29 +0700 |
commit | 1284b98be028ccdf0a7e09698239247204ac6466 (patch) | |
tree | d89a5ff48bb258dd2f02e0e3fe1a4074a7bef8a8 /perl/perl-IO-All/README | |
parent | 56d9da6d5d22aa6335d01022f4ab1baab575d3d7 (diff) |
perl/perl-IO-All: Added (IO modules).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-IO-All/README')
-rw-r--r-- | perl/perl-IO-All/README | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/perl/perl-IO-All/README b/perl/perl-IO-All/README new file mode 100644 index 0000000000000..f8e37e33457de --- /dev/null +++ b/perl/perl-IO-All/README @@ -0,0 +1,19 @@ +IO::All combines all of the best Perl IO modules into a single nifty object +oriented interface to greatly simplify your everyday Perl IO idioms. It exports +a single function called io, which returns a new IO::All object. And that +object can do it all! + +The IO::All object is a proxy for IO::File, IO::Dir, IO::Socket, Tie::File, +File::Spec, File::Path, File::MimeInfo and File::ReadBackwards; as well as all +the DBM and MLDBM modules. You can use most of the methods found in these +classes and in IO::Handle (which they inherit from). IO::All adds dozens of +other helpful idiomatic methods including file stat and manipulation functions. + +IO::All is pluggable, and modules like IO::All::LWP and IO::All::Mailto add +even more functionality. Optionally, every IO::All object can be tied to +itself. This means that you can use most perl IO builtins on it: readline, +<>, getc, print, printf, syswrite, sysread, close. + +The distinguishing magic of IO::All is that it will automatically open (and +close) files, directories, sockets and other IO things for you. You never need +to specify the mode (<, >>, etc), since it is determined by the usage context. |