in reply to Experimental push on scalar now forbidden
Change
push $rohanRoot->{'rohan2'}, $rohan1;
to
push @{ $rohanRoot->{'rohan2'} }, $rohan1;
Calling push with a reference as its first argument did not prove to be a good approach. You need to pass an array as the first argument to push.
Also, consider having your critical systems not auto-update and try to test your programs on a single system before upgrading.
Update: Also see tybalt89s answer above, which shows what the syntax was replaced by.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Experimental push on scalar now forbidden
by KurtZ (Friar) on May 21, 2017 at 18:53 UTC | |
by haukex (Archbishop) on May 21, 2017 at 20:46 UTC | |
by KurtZ (Friar) on May 21, 2017 at 21:03 UTC | |
by stevieb (Canon) on May 21, 2017 at 21:13 UTC | |
by stevieb (Canon) on May 21, 2017 at 19:09 UTC | |
by KurtZ (Friar) on May 21, 2017 at 20:13 UTC | |
by stevieb (Canon) on May 21, 2017 at 20:31 UTC | |
by tobyink (Canon) on May 21, 2017 at 21:51 UTC | |
by KurtZ (Friar) on May 21, 2017 at 21:05 UTC |