Help for this page

Select Code to Download


  1. or download this
    my $fh = IO::File::Narrow->new('/path/to/file', 'r');
    local $IO::File::Narrow::max_input_record_length = 80;
    ...
    while (defined(my $line = $fh->getline)) {
        # do something with line
    }
    
  2. or download this
    package IO::File::Narrow;
    
    ...
    1;
    __END__
    # TODO: pod documentation