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

Re: [PATCH] stat() and -X for tied handles

Thread Previous | Thread Next
From:
Robert Norris
Date:
June 4, 2008 14:33
Subject:
Re: [PATCH] stat() and -X for tied handles
Message ID:
20080604213259.GA30190@plastic.home
On Wed, Jun 04, 2008 at 04:21:49PM +0200, Rafael Garcia-Suarez wrote:
> 2008/6/4 Robert Norris <rob@cataclysm.cx>:
> > Here's a patch that makes stat() and the -X file test ops work on tied
> > handles. It was made against blead but applies cleanly to maint-5.10.

> BTW, I don't think that patching t/lib/Tie{In,Out}.pm was necessary:
> those modules are only needed by a few tests and do not get installed
> with perl.

It was needed to make lib/ExtUtils/t/prompt.t pass. ExtUtils::MakeMaker
runs some tests against STDIN and STDOUT at the top of prompt(), which
used to just return false, but now try to call into the tied handle
implementation.

Rob.

Thread Previous | 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