Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Memory usage while tallying instances of lines in a .txt file

by TJCooper (Beadle)
on Dec 05, 2016 at 16:30 UTC ( [id://1177241]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    c    8    336158    75    75M    74
    c    12    828707    74    74M    73
    w    10    528559    74    74M    0
    c    15    267766    74    74M    73
    c    12    828707    74    74M    73
    c    14    491797    74    74M    73
    
  2. or download this
        my @headers = split("\t",<$IN>);
        my $index = first{$headers[$_] eq 'Strand'} 0..$#headers;
    ...
            }
            $hits{$F[$index+1]}{$F[$index+2]}{$F[$index]}++
        }
    
  3. or download this
    1    4    1    0
    1    5    1    0
    1    31    1    0
    ...
    1    148    2    0
    1    158    0    1
    1    159    1    0
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1177241]
Approved by haukex
Front-paged by 1nickt
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-24 05:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found