Bug 886339 - defined(@array) is deprecated at /usr/share/perl5/vendor_perl/Mail/Sender.pm
Summary: defined(@array) is deprecated at /usr/share/perl5/vendor_perl/Mail/Sender.pm
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Mail-Sender
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-12 04:54 UTC by Ralf Corsepius
Modified: 2013-01-12 01:30 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-12 01:30:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ralf Corsepius 2012-12-12 04:54:23 UTC
Description of problem:

perl-Mail-Sender-0.8.16 is triggering warnings on fedora > 17:

I am encountering warnings from Mail::Sender in another perl-module's testsuite:
...
defined(@array) is deprecated at /usr/share/perl5/vendor_perl/Mail/Sender.pm line 318.
        (Maybe you should just omit the defined()?)
defined(@array) is deprecated at /usr/share/perl5/vendor_perl/Mail/Sender.pm line 2693.
        (Maybe you should just omit the defined()?)


Apparently, perl-Mail-Sender-0.8.16 is suffering from perl >= 5.16 compatibility issues (i.e. Fedora >= 18).

This issue seems to have been reported upstream before:
https://rt.cpan.org/Public/Bug/Display.html?id=75109


Version-Release number of selected component (if applicable):
perl-Mail-Sender-0.8.16

Expected results:
No warnings.

Additional info:
There is a new upstream release (Mail-Sender-0.8.21) out since May, which seems to have addressed this issue. 

I'd suggest to upgrade Fedora's perl-Mail-Sender to this version or the defined's be patched out, should the upgrade be too dangerous as this point in time.

Comment 1 Fedora Update System 2012-12-12 18:37:58 UTC
perl-Mail-Sender-0.8.21-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/perl-Mail-Sender-0.8.21-1.fc18

Comment 2 Fedora Update System 2012-12-14 06:45:17 UTC
Package perl-Mail-Sender-0.8.21-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing perl-Mail-Sender-0.8.21-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-20315/perl-Mail-Sender-0.8.21-1.fc18
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2013-01-12 01:30:23 UTC
perl-Mail-Sender-0.8.21-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.