Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2014-08-28 07:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (257 votes), past polls