deprecated code

Richard Mealing richard at fastnet.co.uk
Wed Apr 15 13:58:05 UTC 2015


Is it as simple as changing -
use IO

to -

use IO::Pipe

?

Or use IO::file when it's using file?

I have changed them all now and all the errors have gone. Everything seems to be working fine, for the moment..!

Thanks,
Rich


From: MailScanner [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Richard Mealing
Sent: 15 April 2015 14:44
To: MailScanner discussion (mailscanner at lists.mailscanner.info)
Subject: deprecated code

Hi,

I'm getting the following when using perl5-5.18.4_13 -

/usr/local/etc/rc.d/mailscanner restart
Stopping mailscanner.
Waiting for PIDS: 758.
Starting mailscanner.
Parameterless "use IO" deprecated at /usr/local/lib/MailScanner/MailScanner/CustomConfig.pm line 749.
Parameterless "use IO" deprecated at /usr/local/lib/MailScanner/MailScanner/GenericSpam.pm line 39.
Parameterless "use IO" deprecated at /usr/local/lib/MailScanner/MailScanner/RBLs.pm line 39.
Parameterless "use IO" deprecated at /usr/local/lib/MailScanner/MailScanner/MCP.pm line 40.
Parameterless "use IO" deprecated at /usr/local/lib/MailScanner/MailScanner/SA.pm line 39.
Parameterless "use IO" deprecated at /usr/local/lib/MailScanner/MailScanner/CustomConfig.pm line 749.
Parameterless "use IO" deprecated at /usr/local/lib/MailScanner/MailScanner/GenericSpam.pm line 39.
Parameterless "use IO" deprecated at /usr/local/lib/MailScanner/MailScanner/RBLs.pm line 39.
Parameterless "use IO" deprecated at /usr/local/lib/MailScanner/MailScanner/MCP.pm line 40.
Parameterless "use IO" deprecated at /usr/local/lib/MailScanner/MailScanner/SA.pm line 39.

This is on FreeBSD 10.1-RELEASE-p9.

I wondered if this had been fixed in the next release? I have the latest from the ports.

Thanks,
Rich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20150415/85ff3ef6/attachment.html>


More information about the MailScanner mailing list