Piotr Roszatycki > IO-Moose > IO::Moose

Download:
IO-Moose-0.1004.tgz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  2
View/Report Bugs
Module Version: 0.1004   Source  

NAME ^

IO::Moose - Reimplementation of IO::* with improvements

SYNOPSIS ^

  use IO::Moose 'Handle', 'File';  # loads IO::Moose::* modules

  $passwd = IO::Moose::File->new( file => '/etc/passwd' )->slurp;

DESCRIPTION ^

IO::Moose provides a simple mechanism to load several modules in one go.

IO::Moose::* classes provide an interface mostly compatible with IO. The differences:

IMPORTS ^

use IO::Moose [modules]

Loads a modules from IO::Moose::* hierarchy. I.e. Handle parameter loads IO::Moose::Handle module.

  use IO::Moose 'Handle', 'File';  # loads IO::Moose::Handle and ::File.

If modules list is empty, it loads following modules at default:

SEE ALSO ^

IO, Moose.

BUGS ^

The API is not stable yet and can be changed in future.

AUTHOR ^

Piotr Roszatycki <dexter@cpan.org>

LICENSE ^

Copyright 2008, 2009 by Piotr Roszatycki <dexter@cpan.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html

syntax highlighting: