I am seeing this in one of my scripts:

        defined(@array) is deprecated at /usr/share/perl5/Mail/Sender.pm line 
318.
                (Maybe you should just omit the defined()?)
                Possible precedence issue with control flow operator at
                /usr/share/perl5/Mail/Sender.pm line 2548.
                defined(@array) is deprecated at 
/usr/share/perl5/Mail/Sender.pm line
                2693.
                        (Maybe you should just omit the defined()?)

after upgrading to jessie. Upstream has a bug report[1]:

        It's very probable that Ubuntu does not have the latest Mail::Sender
        version in their repositories, as the latest CPAN version (0.8.23) tests
        fine even for perl 5.21.x, where this warning is a fatal error. See
        http://matrix.cpantesters.org/?dist=Mail-Sender+0.8.23

After installing a dh-make-perl generated 0.8.23 package the warning is gone for
me.

        Stefan

[1] https://rt.cpan.org/Public/Bug/Display.html?id=100782

Reply via email to