New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
breakage of: .list for m:g/ (\d+)+ % '.' /; # advent 2012 day 22 #3377
Comments
From @dwarringThe following is derived from http://perl6advent.wordpress.com/2012/12/22/day-22-parsing-an-ipv4-address/ $_ = "Go 127.0.0.1, I said!...."; rakudo-2012.11: rakudo 2014.04-134-gfd5f8eb (all backends): In summary there seems to have been a slight change in the structure of the capture which has broken this use of the .list() method |
From @ShimmerFairyBehavior has changed in rakudo: <ShimmerFairy> m: say ("Go 127.0.0.1, I said! He went to 173.194.32.32." ~~ m:g/ (\d ** 1..3) ** 4 % '.' /).map(*.list».Str.perl) And on current GLR: <ShimmerFairy> m: say ("Go 127.0.0.1, I said! He went to 173.194.32.32." ~~ m:g/ (\d ** 1..3) ** 4 % '.' /).map(*.list».Str.perl) Without the .perl in the map, on nom it's a List of Parcel of Array, and on GLR it's a Seq of List of Array. (Using .list or .eager on the Seq would result in a List of List of Array.) |
The RT System itself - Status changed from 'new' to 'open' |
From @dwarringI don't think we need the outer array, which only ever contains one element. How about: $_ = "Go 127.0.0.1, I said! He went to 173.194.32.32."; On Sun Aug 30 20:52:15 2015, lue wrote:
|
From @dwarringI've modified and unfudged the test in advent2012-day22.t Taking this as the new idiom and closing this ticket. On Mon Aug 31 15:41:04 2015, david.warring wrote:
|
@dwarring - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#121789 (status was 'resolved')
Searchable as RT121789$
The text was updated successfully, but these errors were encountered: