Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Super Duper Inefficient

by benn (Vicar)
on Jun 20, 2003 at 13:18 UTC ( [id://267558]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach (@DATA) {
       ($hostid, $time, $get, $post, $conn) = split(/\t/);
       push @{$munged_data{$hostid}},
          {time => $time,get => $get,post=>$post,conn=>$conn};
    }
    
  2. or download this
    foreach my $server (@servers) {
       foreach(@{$munged_data{$server}}) {
         #do stuff with $_->{time} etc.
       }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-25 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found