Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: wrong pid

by shigetsu (Hermit)
on Apr 23, 2007 at 13:14 UTC ( [id://611497]=note: print w/replies, xml ) Need Help??


in reply to wrong pid

As a side note, I recommend using strictures:

use strict; use warnings;

Doing the PID 'munging' yourself just seems wrong. A few modules that look appealing:

There are more related modules on CPAN.

Replies are listed 'Best First'.
Re^2: wrong pid
by js1 (Monk) on Apr 23, 2007 at 13:40 UTC

    Hackish indeed! Maybe, but I didn't really want to use a sledgehammer to crack a nut, and I want the script to be as quick as possible.

    Also I'd like to understand what was going wrong in my original code. I might cave in to the Unix::PID module now, although it does has a few prereqs:

    Warning: prerequisite Class::Std 0 not found. Warning: prerequisite Class::Std::Utils 0 not found. Warning: prerequisite List::Cycle 0 not found. Warning: prerequisite Math::Fibonacci::Phi 0 not found. Warning: prerequisite Time::HiRes 0 not found. Warning: prerequisite version 0 not found.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-03-28 16:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found