Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use itemizing instead of capturing
  • Loading branch information
lizmat committed Jul 5, 2015
1 parent b6d6d31 commit 27c655b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/99problems-11-to-20.t
Expand Up @@ -228,7 +228,7 @@ plan 25;

sub splitter ( @array is copy, Int $length ) {
my @head = @array.splice(0, $length);
return (\@head, \@array);
return ($@head, $@array);
}
my ( $a, $b ) = splitter(<a b c d e f g h i j k>, 3);
is $a, <a b c>,
Expand Down

0 comments on commit 27c655b

Please sign in to comment.