FileHandle::Deluxe is a Perl file handle with a lot of extra features.
SYNOPSIS
use FileHandle::Deluxe;
# Open for read: Don't bother checking for open success,
# that's done automatically. Don't bother locking either,
# that's also done automatically.
$fh = FileHandle::Deluxe->new($path);
# Handle stringifies to the path being read
print 'reading from ', $fh, "n";
# Loop through the file handle as usual
# the handle is lazy: the file isn't actually
# opened until the first read.
while (< $fh >) {
...
}
# the handle automatically closes when the
# the last line is read
Product's homepage
Requirements:
· Perl