Skip to content

Instantly share code, notes, and snippets.

@bduggan
Created March 22, 2017 13:26
sub foo {
my @a = 1, 2;
my @b = 3, 4;
return @a, @b;
}
my (@c, @d) = foo();
say @c.perl;
say @d.perl;
# [[1, 2], [3, 4]]
# []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment