use v6; sub swap($a is rw, $b is rw) { ($a, $b) = ($b, $a); }
In reply to Re: RFC: Idiom for named read-write arguments (aliases) instead of using $_[0] etc
by moritz
in thread RFC: Idiom for named read-write arguments (aliases) instead of using $_[0] etc
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |