pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

p5-Mail-Box 2.102nb2: warning message



Hi,

while running something that uses mail/p5-Mail-Box-2.102nb2

I get

overload arg '+0' is invalid at 
/usr/pkg/lib/perl5/vendor_perl/5.18.0/Mail/Message/Field.pm line 29.

The lines in question are:

use overload
    qq("") => sub { $_[0]->unfoldedBody }
 , '+0'   => sub { $_[0]->toInt || 0 }
 , bool   => sub {1}
 , cmp    => sub { $_[0]->unfoldedBody cmp "$_[1]" }
 , '<=>'  => sub { $_[2] ? $_[1] <=> $_[0]->toInt : $_[0]->toInt <=> $_[1] }
 , fallback => 1;

I don't talk enough modern Perl to understand what that
is about, but I note that the upstream versions 2.106 and up
(latest is 2.108) have '0+' there.

Maybe somebody who does talk perl should upgrade the package (after
the freeze) or add a patch. (pkgsrc-current has 2.102nb3, which has
only different DEPENDS expressions).

Regards,
        -is
-- 
seal your e-mail: http://www.gnupg.org/


Home | Main Index | Thread Index | Old Index