: Given this Pugs program, t.p6:
:
: my $fh = open(@ARGS[0]);
: my @lines = =$fh;
: $fh.close();
: for @lines { print"$_" }
:
: running:
:
: pugs t.p6 t.p6
:
: produces no output. Move $fh.close() to after the for
: loop and all is well. Is this a bug?


I wonder if IO::All could provide some inspiration here? Not so much for solving this specific bug - but making easy IO things easy and making file handle funkiness hard?


Just a meme for the pool ...


Nige




Reply via email to