Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

fuzzyping's scratchpad

by fuzzyping (Chaplain)
on Jun 01, 2004 at 19:06 UTC ( #358415=scratchpad: print w/replies, xml ) Need Help??

Here's my sorting code.
@sorted_log_loop = sort { $a->{$sort_field} <=> $b->{$sort_field} } @r +ows_numeric;
Sample data:
{ 'src_host' => '10.10.1.86', 'src_port' => '137', 'proto' => 'UDP', 'date' => 'Jul 4 08:56:16', 'points' => '626494', 'dst_port' => '137', 'dst_host' => '10.10.1.255', 'rulenum' => '0', 'comment' => 'block drop in log (all) all', 'action' => 'block in', 'interface' => 'em0', 'id' => '14771' }
Thanks!
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2023-02-09 09:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (44 votes). Check out past polls.

    Notices?