Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    IO::Moose::Handle 0.1004

    Download button

    No screenshots available
    Downloads: 312  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Piotr Roszatycki | More programs
    Perl Artistic License / FREE
    February 5th, 2012, 05:13 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    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 DESTROY


    This 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.


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    IO::Handle reimplementation | Moose handler | Perl module | Perl | IO | Moose

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM