in reply to RFC: Idiom for named read-write arguments (aliases) instead of using $_[0] etc
use v6; sub swap($a is rw, $b is rw) { ($a, $b) = ($b, $a); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: RFC: Idiom for named read-write arguments (aliases) instead of using $_[0] etc
by LanX (Saint) on Sep 02, 2012 at 11:39 UTC | |
by moritz (Cardinal) on Sep 02, 2012 at 11:41 UTC | |
by LanX (Saint) on Sep 02, 2012 at 11:54 UTC |