NAME

MooseX::RW::Reader::File - A Moose::Role file reader

VERSION

version 0.003

ATTRIBUTES

file

Name of the file into which read something. A error is thrown if the file does't exist. Setting this attribute will set fh attribute.

fh

File handle form which reading.

METHODS

percentage

Returns the percentage of the file which has been read, with 2 decimals. Based on values returned by stat() and tell() method from the file handle.

AUTHOR

Frédéric Demians <f.demians@tamil.fr>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2012 by Fréderic Démians.

This is free software, licensed under:

  The GNU General Public License, Version 3, June 2007