in reply to Assigning a hash variable to a scalar variable

Are you wondering what 3/8 is? - It's some data about the hash itself, it means perl pre assigned 8 buckets ("memory particles", ooooohhh) to your hash. Of which, 3 are being used. This is kind of useless info, eh? Well, if you have a seriously mammoth hash, like.. loading in a gargantuan buttload of info on say.. a tree slice of a filesystem.. or.. who knows.

If your program runs slow, maybe something you would do is check some mammoth hash, see how many buckets are being used out of those assigned, -- This is usually not needed for you to do unless you are coding some whack stuff. In which case, you'd already know about this bucket thingie. Help any? - It may be what you are looking for is something else.

  • Comment on Re: Assigning a hash variable to a scalar variable