IO::Moose::Handle

Reimplementation of IO::Handle with improvements
Download

IO::Moose::Handle Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Piotr Roszatycki
  • Publisher web site:
  • http://search.cpan.org/~dexter/MooseX-GlobRef-Object-0.02/lib/MooseX/GlobRef/Object.pm

IO::Moose::Handle Tags


IO::Moose::Handle Description

Reimplementation of IO::Handle with improvements IO::Moose::Handle is a reimplementation of IO::Handle, with improvements.SYNOPSIS use IO::Moose::Handle; $fh = IO::Moose::Handle->new; $fh->fdopen( fileno(STDIN) ); print $fh->getline; $file = $fh->slurp; $fh->close; $fh = IO::Moose::Handle->fdopen( *STDERR, '>' ); $fh->autoflush(1); $fh->say('Some text'); undef $fh; # calls close at DESTROYThis class provides an interface mostly compatible with IO::Handle. The differences: * It is based on Moose object framework. * It uses Exception::Base for signaling errors. Most of methods are throwing exception on failure. * The modifiers like input_record_separator are supported on per-filehandler basis. * It also implements additional methods like say, slurp. * It is pure-Perl implementation. Requirements: · Perl


IO::Moose::Handle Related Software