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

Zombie Hunter (666th post)

by jeffa (Bishop)
on Jan 19, 2002 at 00:46 UTC ( [id://139947]=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -lw
    
    ...
    sub health {$_=shift->{hits};$_ > 1 ?"$_ hits":"$_ hit"}
    sub regen  {shift->{hits}+=3 if int(rand 2)}
    sub destroy{print qq|"brainsss..." zombie destroyed| and exit}
    
  2. or download this
    kill `ps Af | grep perl | grep -v grep | awk '{ print $2 }'`
    

Log In?
Username:
Password:

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

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

    No recent polls found