The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

IO::File::MultiLines

DESCRIPTION

Simple interface to read multiple lines into array or scalar

SYNOPSIS

        use IO::File::Log;
        my $fh = new IO::File::MultiLines "FILENAME","r";
        
        while( my @a = $fh->get_lines(5)){
                print @a;
        } 

MEHHODS

get_lines

        my @array = $fh->get_lines(5);

Load 5 lines of the file content into an array

SEE ALSO

IO::File

AUTHOR

woosley.xu <woosley.xu@gmail.com>.

COPYRIGHT AND LICENSE

Copyright (C) 2009 by woosley.xu

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.