Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Printing Hash of Arrays

by RichardK (Parson)
on Nov 29, 2012 at 16:50 UTC ( #1006299=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
            push @{ $hash_of_chroms{$chr} }, $coord
              unless defined $hash_of_chroms{$chr}[$coord];   # don't add 
    +duplicates
    
  2. or download this
         $array[0] = $coord unless $array[50];
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006299]
help
Chatterbox?
[msh210]: *finally* tracked down the source of nonsensical results: I had sum0 (@ary / $foo) instead of (sum0 @ary) / $foo

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2017-01-17 17:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (158 votes). Check out past polls.