holli has asked for the wisdom of the Perl Monks concerning the following question:
Monks,
in Re: Handling A File In Human-Compatible Chunks i proposed a module that can be used like
Tx.
That works, but this#iterate while ( my $chunk = $reader->chunk ) { print "$chunk\n****************\n"; }
does not. $_ is not set. How can I achieve that behaviour?#iterate while ( $reader->chunk ) { print "$_\n****************\n"; }
Tx.
Back to
Seekers of Perl Wisdom