← Back to team overview

pkg-perl-maintainers team mailing list archive

Re: [Bug 1281292] Re: File::Pid bug with Perl >= 5.12

 

On Mon, 17 Feb 2014 22:04:24 -0000, 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 file-pid-go-boom.pl 
> Can't kill a non-numeric process ID at /usr/local/share/perl/5.14.2/File/Pid.pm line 125.
> 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 file-pid-go-boom.pl 
> Hey, it worked!
> denny@serenity:~$

Well, yes, I'm not surprised that you see a problem if you undo the
patch in a local copy (or an install from CPAN?) of the file under
/usr/local :)


Can you please
- check that you have libfile-pid-perl 1.01-1 installed
- and look in /usr/share/perl5/File/Pid.pm ?

% head -123 /usr/share/perl5/File/Pid.pm | tail -2
    my $pid  = $self->_get_pid_from_file or return undef; 


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Ostbahn-Kurti & Die Chefpartie: Radl Noch Rio

-- 
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to libfile-pid-perl in Ubuntu.
https://bugs.launchpad.net/bugs/1281292

Title:
  File::Pid bug with Perl >= 5.12

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libfile-pid-perl/+bug/1281292/+subscriptions


References