FileHandle::DeluxeFileHandle::Deluxe is a Perl file handle with a lot of extra features. | |
Download |
FileHandle::Deluxe Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Miko O'Sullivan
- Publisher web site:
- http://search.cpan.org/~miko/
FileHandle::Deluxe Tags
FileHandle::Deluxe Description
FileHandle::Deluxe is a Perl file handle with a lot of extra features. 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 Requirements: · Perl
FileHandle::Deluxe Related Software