Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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...

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 examining the Monastery: (5)
As of 2016-07-24 06:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (221 votes). Check out past polls.