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

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

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
June 4, 2008 07:37
Subject:
Re: [PATCH] stat() and -X for tied handles
Message ID:
20080604163723.69b05914@pc09.procura.nl
On Wed, 4 Jun 2008 16:21:49 +0200, "Rafael Garcia-Suarez"
<rgarciasuarez@gmail.com> wrote:

> 2008/6/4 Robert Norris <rob@cataclysm.cx>:
> > Hi porters,
> >
> > 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.
> >
> > It adds three methods to the tied object interface:
> >
> >  * STAT, called by stat() and most of the file test ops
> >  * ISATTY, called by -t
> >  * ISBINARY, called by -B and -T
> 
> That's very interesting and I shall consider it for inclusion. I'm
> waiting a bit for comments from the list though (I'm not personally a
> heavy user of tied filehandles.) I'll look a bit closer at the
> implementation too.

++ from me too. If you're into Tied File Handles, maybe you can have a
look at the TODO items too :)


-- 
H.Merijn Brand         Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.10.x  on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.1 & 10.2, AIX 5.2, and Cygwin.       http://qa.perl.org
http://mirrors.develooper.com/hpux/            http://www.test-smoke.org
                        http://www.goldmark.org/jeff/stupid-disclaimers/

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