NAME

File::Open::OOP - An Object Oriented way to read and write files

SYNOPSIS

Reading lines one-by-one

use File::Open::OOP qw(oopen);

my $fh = oopen 'filename';
while ( my $row = $fh->readline ) {
	print $row;
}

Reading all the line at once:

my @rows = oopen('filename')->readall;

Reading all the lines into a single scalar:

my $rows = oopen('filename')->slurp;

OTHER

This module is based on the File::Open module of Lukas Mai.

AUTHOR

Gabor Szabo <gabor@szabgab.com>

COPYRIGHT & LICENSE

Copyright 2011 Gabor Szabo.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.