Help for this page

Select Code to Download


  1. or download this
    $reader->open ("/path/to/file.txt");
    
    ...
    {
        print "$chunk\n****************\n";
    }
    
  2. or download this
    while ( my $chunk = $reader->chunk("/path/to/file.txt") )
    {
        print "$chunk\n****************\n";
    }
    
  3. or download this
    package ChunkReader;
    
    ...
        return $chunk;
    }
    1;