Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: counting pairwise incidences

by LanX (Canon)
on May 17, 2011 at 14:18 UTC ( #905276=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    {
      "aesG gly4" => 2,
      "aesG phil" => 2,
    ...
      "gly4 tomD" => 3,
      "phil tomD" => 2,
    }
    
  2. or download this
    use Data::Dump "pp";
    my %count;
    ...
    aesG tomD gly4 phil
    aesG phil
    aesG tomD gly4
    
  3. or download this
    {
      "aesG\34gly4" => 2,
    ...
      "gly4\34tomD" => 3,
      "phil\34tomD" => 2,
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (24)
As of 2015-07-29 17:25 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 (266 votes), past polls