develooper Front page | perl.perl6.compiler | Postings from March 2018

[perl #128895] [BUG] $*ARGFILES.words does not fallback to $*IN

From:
Jan-Olof Hendig via RT
Date:
March 6, 2018 22:34
Subject:
[perl #128895] [BUG] $*ARGFILES.words does not fallback to $*IN
Message ID:
rt-4.0.24-16889-1520375645-211.128895-80-0@perl.org
On Thu, 11 Aug 2016 00:41:39 -0700, elizabeth wrote:
> FWIW, this was fixed with the work on IO::CatHandle/CatPath
> (630a9b20f9e829bf1535 and later).  Unfortunately, we had to revert
> this until 6.d will come around.
> 
> > On 11 Aug 2016, at 01:42, Wenzel Peppmeyer (via RT) <perl6-bugs-
> > followup@perl.org> wrote:
> >
> > # New Ticket Created by  Wenzel Peppmeyer
> > # Please include the string:  [perl #128895]
> > # in the subject line of all future correspondence about this issue.
> > # <URL: https://rt.perl.org/Ticket/Display.html?id=128895 >
> >
> >
> > perl6 -e 'say $*ARGFILES.words'
> > # OUTPUT:
> > # read string requires an object with REPR MVMOSHandle
> > #  in block <unit> at -e line 1
> >
> > # expected the same as $*ARGFILES.lines (falls back to $*IN)

This has been fixed by Zoffix++ as part of his IO-grant.
Full test coverage is available in roast for IO::CatHandle.
See https://irclog.perlgeek.de/perl6-dev/2018-03-06#i_15892238




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