all tasks
This commit is contained in:
parent
b83f433714
commit
68f8f3e56b
14735 changed files with 178959 additions and 0 deletions
7
Task/Variadic-function/Perl-6/variadic-function-1.pl6
Normal file
7
Task/Variadic-function/Perl-6/variadic-function-1.pl6
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
sub foo {
|
||||
.say for @_;
|
||||
say .key, ': ', .value for %_;
|
||||
}
|
||||
|
||||
foo 1, 2, command => 'buckle my shoe',
|
||||
3, 4, order => 'knock at the door';
|
||||
Loading…
Add table
Add a link
Reference in a new issue