in reply to Re: Elegantly dereferencing multiple references
in thread Elegantly dereferencing multiple references
sub assign { %$_ = %{shift @_} for \ (my (%a, %b, %c)); dd ["assign", \(%a, %b, %c) ]; } assign( \(%x, %y, %z));
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|