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

Re: Hash to Scalar Assignment Oddity

by borisz (Canon)
on Jan 26, 2006 at 15:47 UTC ( [id://525743]=note: print w/replies, xml ) Need Help??


in reply to Hash to Scalar Assignment Oddity

The first value is the number of used entries and the second the number of slots. Read it as we use currently 3 from 8 entries. You can set the slots if you like with:
keys %db = 1000; $db = %db; print $db;
Boris

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-23 06:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found