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