use v6; foo( :B<there>, :A<howdy> ); sub foo(Str :$A, Str :$B){ say "Named parameter A is '$A'"; say "Named parameter B is '$B'"; }
In reply to Re^7: Perl 6, defining a hash with interpolated string
by molecules
in thread Perl 6, defining a hash with interpolated string
by Mr_Micawber
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |