Robby Walker > Tie-FileHandle-Buffer-0.11 > Tie::FileHandle::Buffer

Download:
Tie-FileHandle-Buffer-0.11.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.11   Source  

NAME ^

Tie::FileHandle::Buffer - filehandle tie that captures output

DESCRIPTION ^

This module, when tied to a filehandle, will capture and store all that is output to that handle. You may then act on that stored information in one of the following ways.

 my $contents = (tied *HANDLE)->get_contents; # retrieves the stored output

 (tied *HANDLE)->clear; # clears the output buffer

This module goes hand in hand with the Output::Buffer module.

TODO ^

BUGS ^

This is a new module and has not been thoroughly tested.

AUTHORS AND COPYRIGHT ^

Written by Robby Walker ( robwalker@cpan.org ) for Point Writer ( http://www.pointwriter.com/ ).

You may redistribute/modify/etc. this module under the same terms as Perl itself.