Mail::Sender incompatibilities

Chronogical Blog Entries:

Date: Mon, 4 Jul 2016 09:04:24 +1000

For some time now the standard Mail::Sender package that ships with Ubuntu
has had "issues".

This package may be in decline. The same issues seems to exist on other
platforms (apart from Ubuntu). If you are using Ubuntu LTS than it probably
would have surfaced during upgrade to 14.04.

However the package still works. You can either replace it with cpan or
fetch the latest package.

The error manifests as one of the following:

defined(@array) is deprecated at /usr/share/perl5/Mail/Sender.pm line ...
(Maybe you should just omit the defined()?)
... or ...
Can't use 'defined(@array)' (Maybe you should just omit the defined()?)
at /usr/share/perl5/Mail/Sender.pm line ...

Or a similar message ... The line number varies according to the version you
have ...

If you are using the APT package, remove it ...

sudo apt-get purge libmail-sender-perl

Re-install with cpan. Just use "sudo -i" and then enter "cpan". If it is
the first time you have run cpan you will have to configure cpan