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

[perl #111978] [BUG] ?^1 gives True in Rakudo

Thread Previous
From:
Carl Mäsak
Date:
March 25, 2012 09:19
Subject:
[perl #111978] [BUG] ?^1 gives True in Rakudo
Message ID:
rt-3.6.HEAD-4610-1332692336-1160.111978-82-0@perl.org
# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #111978]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=111978 >


<GlitchMr> perl6: print ?^1
<p6eval> niecza v15-6-gefda208: OUTPUT«False»
<p6eval> ..rakudo a4c78f: OUTPUT«True»
* masak submits rakudobug
<GlitchMr> "?^" operator
<benabik> r: say ^1
<p6eval> rakudo a4c78f: OUTPUT«0..^1␤»
<benabik> I think ?^1 is just ?(^1)
<GlitchMr> According to S03, it's boolean not...
<benabik> I could be wrong, I'll admit.
<GlitchMr> ... I don't mean upto operator...
<masak> benabik: there is a prefix:<?^> operator.
<masak> but it might be missing in Rakudo.

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