Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Deparse says \my(%hash) is the same as \my %hash but it isn't

by Anonymous Monk
on Nov 21, 2012 at 11:15 UTC ( #1004903=note: print w/ replies, xml ) Need Help??


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


Comment on Re: Deparse says \my(%hash) is the same as \my %hash but it isn't
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004903]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (16)
As of 2015-07-01 16:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (9 votes), past polls