Created
April 11, 2016 16:01
-
-
Save anonymous/f50b01c0932fcf00a2af3e372bf8f75c to your computer and use it in GitHub Desktop.
Documentation error in Cool.pod, code example has :v when it should be :kv
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
Cool.pod | |
class Cool | |
From Cool | |
routine split | |
.... | |
:kv adds both indexes and matches: | |
say 'abc'.split(/b/, :v); # (a 0 ?b? c) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment