Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Seeking explanation on assigning a hash to a scalar

by johngg (Abbot)
on May 15, 2007 at 09:07 UTC ( #615494=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my $buckets = %hash;
    my $elems = () = %hash;
    print qq{ Buckets: $buckets\nElements: $elems\n};
    
  2. or download this
     Buckets: 3/8
    Elements: 6
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2015-05-25 13:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (484 votes), past polls