Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

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

Help for this page

Select Code to Download


  1. or download this
    $ perl -
    warn \my %hash;
    warn \my(%hash);
    ...
    warn \my(%hash);
    warn \(my(%hash));
    - syntax OK
    
  2. or download this
    $ perl -le " warn scalar(\my %hash)"
    HASH(0x99aa34) at -e line 1.
    ...
    
    $ perl -MData::Dump -le " dd scalar(\my(%hash))"
    \undef
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1004902]
Front-paged by Arunbear
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2017-04-29 16:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (533 votes). Check out past polls.