develooper Front page | perl.perl5.porters | Postings from April 2008

Re: [PATCH] testing $/ with in memory files

Thread Previous
From:
Rafael Garcia-Suarez
Date:
April 30, 2008 02:10
Subject:
Re: [PATCH] testing $/ with in memory files
Message ID:
b77c1dce0804300210r59c30967wa06b0bb4984c5f56@mail.gmail.com
2008/4/27 Bram <p5p@perl.wizbit.be>:
> Inspired by: http://rt.perl.org/rt3/Public/Bug/Display.html?id=44833 (fixed
> somewhere between 5.8.7 and 5.8.8)
>
>  But I don't think test were added for it.
>  Attached is a patch for t/base/rs.t. (I hope this is the correct file to
> test it...)

No, it's not, sorry :)

In-memory files necessitate PerlIO::via::scalar, thus a perl with
perlio and dynaloading enabled. miniperl won't be able to run this
test, which is not good for a test in base. I suggest a new test file
in t/op, with all tests skipped if $ENV{PERL_CORE_MINITEST} is true.

Thread Previous


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