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

Think beyond Taint and warnings

by rob_au (Abbot)
on Sep 14, 2001 at 18:43 UTC ( #112434=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
      kill 'INT', $pid;
      exit(0);
    }
    
  2. or download this
      my($pid) = `cat $HOME/program.pid`;
      if($pid =~ m{([0-9]+)}) { $pid = $1; }
      kill 'INT', $pid;
      exit(0);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2021-01-20 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?