in reply to Detecting stale pid file under *nix
If you mean 'infinity', then you can use the string 'Inf' instead. (or 'inf', or 'INF' - Perl recognizes all of these as 'infinity'.)if ( ... >= 9**9**9) {
Please note: I advise against using this to improve the original code. Please use the suggested module instead.if ( ... >= "Inf") {
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Detecting stale pid file under *nix
by Dallaylaen (Chaplain) on Oct 25, 2016 at 13:05 UTC |