Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Correct output of split() examples
Thanks to @songzan for pointing this out! This commit closes issue #64.
  • Loading branch information
Paul Cochrane committed Mar 26, 2015
1 parent f64f3cf commit 9d93967
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Type/Str.pod
Expand Up @@ -175,9 +175,9 @@ If you want that behavior, consider using L<comb> instead.
Examples:
say split(';', "a;b;c").perl; # ("a", "b", "c").list
say split(';', "a;b;c", :all).perl; # ("a", ";", "b", ";", "c").list
say split(';', "a;b;c", :all).perl; # (("a", ";"), ("b", ";"), "c").list
say split(';', "a;b;c", 2).perl; # ("a", "b;c").list
say split(';', "a;b;c", 2, :all).perl; #("a", ";", "b;c").list
say split(';', "a;b;c", 2, :all).perl; # (("a", ";"), "b;c").list
say split(';', "a;b;c,d").perl; # ("a", "b", "c,d").list
say split(/\;/, "a;b;c,d").perl; # ("a", "b", "c,d").list
Expand Down

0 comments on commit 9d93967

Please sign in to comment.