Re: Warning after upgrading to Perl 5.24 on FreeBSD

Dianne Skoll <[email protected]>
Newsgroups gmane.mail.mimedefang
Organization Roaring Penguin Software Inc.
Message-ID <[email protected]>
On Fri, 21 Apr 2017 11:33:26 +0200
Franz Schwartau <[email protected]> wrote:

> $ perl -e 'use Sys::Syslog; print $Sys::Syslog::VERSION;'
> 0.33_01

AFAIK, a version with an underscore like that is a developer-only
release.  The current version on CPAN is 0.35

> if( $Sys::Syslog::VERSION < 0.16 ) {

> Maybe it's better to use a lexical compare:

> if( $Sys::Syslog::VERSION lt "0.16" ) {

I guess that makes sense.

Regards,

Dianne.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.