Subject: | Bug in Net/Autoconfig/Template.pm - for list now requires brackets |
Date: | Mon, 12 Sep 2016 14:01:28 +0000 |
To: | "bug-Net-Autoconfig [...] rt.cpan.org" <bug-Net-Autoconfig [...] rt.cpan.org> |
From: | "Campbell, Steve" <Steve.Campbell [...] virginmedia.co.uk> |
Net::Autoconfig 1.13.2 is failing make test on Solaris Perl 5.24.0
Running make test
PERL_DL_NONLAZY=1 "/opt/VMEDperl-5.24.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/Net-Autoconfig-Device-Cisco.t ... 1/29
# Failed test 'use Net::Autoconfig::Device::Cisco;'
# at t/Net-Autoconfig-Device-Cisco.t line 10.
# Tried to use 'Net::Autoconfig::Device::Cisco'.
# Error: syntax error at /root/.cpan/build/Net-Autoconfig-v1.13.2-1/blib/lib/Net/Autoconfig/Template.pm line 138, near "$hostname qw(device host hostname)"
Fix:
Change
foreach my $hostname qw(device host hostname)
to
foreach my $hostname (qw(device host hostname))
--------------------------------------------------------------------
Save Paper - Do you really need to print this e-mail?
Visit www.virginmedia.com for more information, and more fun.
This email and any attachments are or may be confidential and legally privileged
and are sent solely for the attention of the addressee(s).
Virgin Media will never ask for account or financial information via email. If you are in receipt of a suspicious email, please report to www.virginmedia.com/netreport
If you have received this email in error, please delete it from your system: its use, disclosure or copying is unauthorised. Statements and opinions expressed in this email may not represent those of Virgin Media. Any representations or commitments in this email are subject to contract.
Registered office: Media House, Bartley Wood Business Park, Hook, Hampshire, RG27 9UP
Registered in England and Wales with number 2591237