NAME

IO::File::WithPath - IO::File remember file path

SYNOPSIS

use IO::File::WithPath;
my $io = IO::File::WithPath->new('/path/to/file');
print $io->path; # print '/path/to/file'
print $io->getline; # IO::File-method

DESCRIPTION

IO::File::WithPath is IO::File remember file path.

METHODS

new

create object from file-path as IO::File->new(). but file-path not include MODE.(e.g. '</path/to/file')

path

file-path

filename

alias to path.

AUTHOR

Masahiro Chiba <chiba@geminium.com>

THANKS

miyagawa nothingmuch

SEE ALSO

LICENSE

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