http://www.perlmonks.org?node_id=1004903


in reply to Deparse says \my(%hash) is the same as \my %hash but it isn't

Maybe this is more clear

$ perl -MO=Deparse,-p - warn \my %hash; warn \my(%hash); ^Z warn((\my(%hash))); warn(\(my(%hash))); - syntax OK $ perl - warn((\my(%hash))); warn(\(my(%hash))); ^Z Warning: something's wrong at - line 1. Warning: something's wrong at - line 2.

Any way you slice it you're not getting a reference from Deparse output