develooper Front page | perl.perl5.porters | Postings from January 2012

[perl #77388] Stacked file tests with -T, -t and/or -B remove too much from the stack

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
January 21, 2012 17:04
Subject:
[perl #77388] Stacked file tests with -T, -t and/or -B remove too much from the stack
Message ID:
rt-3.6.HEAD-14510-1327194250-1283.77388-15-0@perl.org
On Fri Jan 20 16:25:43 2012, perl.p5p@rjbs.manxome.org wrote:
> * Father Chrysostomos via RT <perlbug-followup@perl.org> [2012-01-
> 20T17:13:33]
> >
> > (Is anybody reading this?)
> 
> Yes, and it's an area I've grumbled through myself.  I'll try to say
> something
> tomorrow.

And when you do so, can you consider the attached patch?  It just makes
-t -e -f -l -o N dwim, because the N argument is now passed down to each
op.  Those that are capable will use the last stat buffer.  Those that
are not (-t -T -B) will use the argument.

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=77388

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