[Bug 214617] mail/p5-Mail-Alias: library no longer works on perl5.24

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 18 07:25:46 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214617

Matthew Seaman <matthew at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matthew at FreeBSD.org

--- Comment #2 from Matthew Seaman <matthew at FreeBSD.org> ---
(In reply to takeda from comment #0)

Your suggested change isn't quite right.  There are precedence problems. 
You're testing if $pkg is defined, and then appending the string "::ISA" to the
result of that -- which gives a result which always evaluates to true. 

Something like this would be better:

 croak "Unknown format '$fmt'"
  unless @{$pkg . "::ISA"};

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-perl mailing list