in reply to "Experimental push on scalar is now forbidden"

You don't say what you are trying to do, so any suggestion I make may be totally off-track. But it looks to me like you have reversed the arguments to push. See $ perldoc -f push (or, if you prefer, the same thing on the web.)

Replies are listed 'Best First'.
Re^2: "Experimental push on scalar is now forbidden"
by building_arch (Novice) on Dec 19, 2021 at 18:13 UTC
    Thank you very much to both for your replies. ... Of course I had reversed the arguments to push! I am so ashamed. It was some time I did not write anything and it shows. The error is so gross that I was not taking it into account. So, Perl behaves as usual. Problem solved. Next time I will double-check before posting. Thank you again. Best regards Gian Luca