develooper Front page | perl.perl5.porters | Postings from September 2006

[PATCH] PerlIO::scalar (aka open(my $fh, >\$foo)): zero-filling seekand don't talk to negative strangers

Thread Next
From:
Jarkko Hietaniemi
Date:
September 29, 2006 07:41
Subject:
[PATCH] PerlIO::scalar (aka open(my $fh, >\$foo)): zero-filling seekand don't talk to negative strangers
Message ID:
451D3098.1000305@iki.fi
The attached patch zero fills (is that like Diet Coke?) when seeking
past the end of the scalar, and also catches overly negative offsets,
and Test::More-fies scalar.t.


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About