Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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))"

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1004902]
Front-paged by Arunbear
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2016-10-22 09:41 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (294 votes). Check out past polls.