Created
June 22, 2017 12:13
-
-
Save vendethiel/1fb39987c4fed4e964464391c499feea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rakudo git:(nom) 6 | |
To exit type 'exit' or '^D' | |
> my $s = '0x098647820001114a00000000'; | |
0x098647820001114a00000000 | |
> for $s.comb { $s.substr(0, ++$).parse-base(16); } | |
Nil | |
> for $s.comb { $s.substr(0, ++$).parse-base(16); }; 1 | |
1 | |
> my $s = '098647820001114a00000000'; | |
098647820001114a00000000 | |
> for $s.comb { $s.substr(0, ++$).parse-base(16); } | |
Nil | |
> for $s.comb { $s.substr(0, ++$).parse-base(16).say; } | |
0 | |
9 | |
152 | |
2438 | |
39012 | |
624199 | |
9987192 | |
159795074 | |
2556721184 | |
40907538944 | |
654520623104 | |
10472329969665 | |
167557279514641 | |
2680916472234257 | |
42894663555748116 | |
686314616891969866 | |
10981033870271517856 | |
175696541924344285696 | |
2811144670789508571136 | |
44978314732632137138176 | |
719653035722114194210816 | |
11514448571553827107373056 | |
184231177144861233717968896 | |
2947698834317779739487502336 | |
> $s | |
098647820001114a00000000 | |
> $s.group-by(2) | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820001114a0000000' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820001114a000000' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820001114a00000' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820001114a0000' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820001114a000' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820001114a00' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820001114a0' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820001114a' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820001114' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x09864782000111' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x0986478200011' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820001' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x09864782000' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x0986478200' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x09864782' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x0986478' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x09864' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x0986' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x09' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x0' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820001114a00000000' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820001114a0000000' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820001114a000000' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820001114a00000' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820001114a0000' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820001114a000' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820001114a00' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820001114a0' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820001114a' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820001114' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x09864782000111' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x0986478200011' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820001' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x09864782000' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x0986478200' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647820' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x09864782' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x0986478' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098647' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x09864' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x0986' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x098' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x09' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x0' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was: | |
Cannot convert string to number: malformed base-16 number in '0⏏x' (indicated by ⏏) | |
in block <unit> at <unknown file> line 1 | |
No such method 'group-by' for invocant of type 'Str' | |
in block <unit> at <unknown file> line 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment