Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: varying length multi-dimensional hashes

by joe (Acolyte)
on Oct 04, 2000 at 23:17 UTC ( #35314=note: print w/ replies, xml ) Need Help??


in reply to varying length multi-dimensional hashes

thanks c-era here's the one that we came up with for creating the array:

while(<>) { @parts = ($_ =~ /.{3}/g); $assign = "\$hash" . join('', map { "{\'$_\'}" } @parts) . "++;"; eval $assign; }
Not as fast as I'd like, but I guess it's doing a lot of work...


Comment on Re: varying length multi-dimensional hashes
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2014-09-19 06:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (132 votes), past polls