On Wed, Oct 03, 2001 at 02:26:47AM +0200, Bart Lateur wrote:
> >foreach_line { print } 'some/file';
>
> You really like underscores, do you?
If all you got out of that thread was "Schwern likes underscores" then I
explained iterators really, really, really badly.
--
Michael G. Schwern
On Tue, 25 Sep 2001 12:42:43 -0400, Michael G Schwern wrote:
>Or how about character by character?
>
>File.each_byte($filename) {
>print
>}
>
>Backwards?
>
>File.read_backwards($filename) {
>print
>}
[in an earlier post:]
>foreach_line { print } 'some/file';