Skip to content

Instantly share code, notes, and snippets.

@peschwa
Created August 2, 2014 14:14
Show Gist options
  • Save peschwa/e6d1bb971d5566417911 to your computer and use it in GitHub Desktop.
Save peschwa/e6d1bb971d5566417911 to your computer and use it in GitHub Desktop.
$ ./perl6 -e'$_ = "AdBeCf"; .match: /(.)./, :g; say ~$/; say @().flat; say so $/'
AdBeCf
「Ad」
0 => 「A」
「Be」
0 => 「B」
「Cf」
0 => 「C」
True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment