[EMAIL PROTECTED] wrote:
On the other hand, we can alternatively specify that closing a
file handle must force all thunks associated to it, i.e. in this
case fill @lines with real data. Pugs can do that just fine, but I
have no idea how parrot is to achieve that...
But it gets worse.
my $lines = [ =$fh ]; seek($fh, 0); my $lines2 = [ =$fh ]; close $fh;
$lines2 must somehow remember that seek has happened.
Miro