IO::File::WithPath3pm
An io::file extension that keeps the pathname
Usage
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
Overview
IO::File::WithPath is a Perl module extending IO::File to keep track of the absolute path name.
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
Thanks
miyagawa nothingmuch
Releases
7 releases since Debian 7 (Wheezy); the text changed 1 time.