Subject: | BEGIN not safe after errors--compilation aborted Subnet.pm line 71. |
Date: | Tue, 13 Aug 2013 23:06:53 +0100 (BST) |
To: | "bug-Net-Subnet [...] rt.cpan.org" <bug-Net-Subnet [...] rt.cpan.org> |
From: | John Smith <gb10hkzo-perl [...] yahoo.co.uk> |
Perl v5.8.8
2.6.32-320.17.1.lve1.1.7.2.el6.x86_64 #1 SMP Wed Jun 27 06:14:32 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
Simple script :
==============
#!/usr/bin/perl
use strict;
use warnings;
use Net::Subnet;
===============
Gives:
syntax error at /usr/local/lib/perl5/site_perl/5.8.8/Net/Subnet.pm line 54, near "$mask = $mask =~ /:"
(Might be a runaway multi-line // string starting on line 47)
BEGIN not safe after errors--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/Net/Subnet.pm line 71.
Compilation failed in require at test.pl line 5.
BEGIN failed--compilation aborted at test.pl line 5.