Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: varying length multi-dimensional hashes

by fundflow (Chaplain)
on Oct 04, 2000 at 23:15 UTC ( #35312=note: print w/ replies, xml ) Need Help??


in reply to varying length multi-dimensional hashes

Just for curiosity, i'd like to know what is it used for.


Also, if you want to count how many times aaaBBBccc appears, why not do $hash{'aaaBBBccc'}++?

This has no problems with common prefixes (such as those chromatic pointed out) and needs no complex data structures or pointers.


Comment on Re: varying length multi-dimensional hashes
Download Code
RE: Re: varying length multi-dimensional hashes
by b (Beadle) on Oct 04, 2000 at 23:22 UTC
    This smells like homeworks to me

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (15)
As of 2015-07-01 17:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (14 votes), past polls