** Bug watch added: CPAN RT #18960
http://rt.cpan.org/Ticket/Display.html?id=18960
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1281292
Title:
File::Pid bug with Perl = 5.12
To manage
Test case:
denny@serenity:~$ cat file-pid-go-boom.pl
#!/usr/bin/env perl
use strict;
use warnings;
use 5.012;
use File::Pid;
my $pidfile = File::Pid-new({
file = '/tmp/file-pid-go-boom.pid',
});
if ( my $num = $pidfile-running ) {
die Already running: $num\n;
}
$pidfile-write;
Interesting about the debian/ubuntu versions! All I can say is that the
first time I wrote code using File::Pid, it worked on my home machine
(Ubuntu 10.04 I think) but failed when deployed on my server (CentOS),
and it took me ages to find that RT bug report which explained why.
This has
On Mon, 17 Feb 2014 22:04:24 -, Denny de la Haye wrote:
Test case:
Thanks!
denny@serenity:~$ head -123 /usr/local/share/perl/5.14.2/File/Pid.pm | tail -2
my $pid = $self-_get_pid_from_file;
#my $pid = $self-_get_pid_from_file or return undef;
denny@serenity:~$ perl
Oooops. I do not have libfile-pid-perl installed, sorry to have
bothered you!
** Changed in: libfile-pid-perl (Ubuntu)
Status: New = Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
On Mon, 17 Feb 2014 22:46:08 -, Denny de la Haye wrote:
Oooops. I do not have libfile-pid-perl installed, sorry to have
bothered you!
No worries, glad to see that we have solved the miracle :)
Cheers,
gregor
--
.''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key