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

Re: How to extract from the array...exemple txt file:

by Aristotle (Chancellor)
on May 22, 2002 at 00:17 UTC ( [id://168320]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -naF/,/
    $seen{$F[3]}->{$F[4]}++ if defined $F[3] and defined $F[4];
    END { while(($k,$v) = each %seen) { print "$k has accessed $k2 $v2 tim
    +es.\n" while ($k2,$v2) = each %$v } }
    
  2. or download this
    #!/usr/bin/perl -naF/,/
    $seen{"@F[4,3]"}++;END{@u;print"@u has accessed $s $t times.\n"while($
    +_,$t)=each%seen,($s,@u)=split}
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-04-23 22:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found