Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 meditating upon the Monastery: (9)
As of 2014-11-28 21:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (200 votes), past polls