Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Best way to parse my data

by ccn (Vicar)
on Sep 30, 2009 at 16:18 UTC ( #798383=note: print w/ replies, xml ) Need Help??


in reply to Best way to parse my data

#!/usr/bin/perl -wlan next if /OFFLINE/; # I want to only report the ones that have ONLINE if ($F[0] eq 'B') { push @{ $groups{ $F[1] } }, $F[2]; } if ($F[0] eq 'G') { print "$F[1] is frozen on hosts " . join ', ', @{ $groups{ $F[1] } + }; }


Comment on Re: Best way to parse my data
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2014-07-31 05:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (245 votes), past polls