in reply to Pass By Reference Inner Workings - Magic scalar operator
Your "shift" is being mistaken for a bareword hash key symbolic reference (thanks, davido for the correction). If you say,
that will suffice. Anything to break up the bareword evaluation to anmy %x = %{+shift}; # or my %x = %{shift()};
After Compline,
Zaxo
|
|---|