Skip Menu |

This queue is for tickets about the NetAddr-IP CPAN distribution.

Report information
The Basics
Id: 111301
Status: open
Priority: 0/
Queue: NetAddr-IP

People
Owner: Nobody in particular
Requestors: abraxxa [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 4.078
Fixed in: (no value)



Subject: use NetAddr::IP ':nofqdn' fails
$ perl -E "use NetAddr::IP ':nofqdn';" "nofqdn" is not defined in %NetAddr::IP::EXPORT_TAGS at -e line 1. Can't continue after import errors at /home/ahartmai/perl5/perlbrew/perls/22.1/lib/site_perl/5.22.1/x86_64-linux/NetAddr/IP.pm line 409. It might be an oversight to list :nofqdn as export tag in the synopsis of NetAddr::IP as the example lower down says "use NetAddr::IP::Lite ':nofqdn';". Please also improve the docs regarding the difference between NetAddr::IP and ::Lite and which to prefer for what case.
resolved in 4.079 On Wed Jan 20 08:28:52 2016, ABRAXXA wrote: Show quoted text
> $ perl -E "use NetAddr::IP ':nofqdn';" > "nofqdn" is not defined in %NetAddr::IP::EXPORT_TAGS at -e line 1. > Can't continue after import errors at > /home/ahartmai/perl5/perlbrew/perls/22.1/lib/site_perl/5.22.1/x86_64- > linux/NetAddr/IP.pm line 409. > > It might be an oversight to list :nofqdn as export tag in the synopsis > of NetAddr::IP as the example lower down says "use NetAddr::IP::Lite > ':nofqdn';". > > Please also improve the docs regarding the difference between > NetAddr::IP and ::Lite and which to prefer for what case.
From: cpan [...] perl.wizbit.be
On Fri Mar 25 21:08:25 2016, MIKER wrote: Show quoted text
> resolved in 4.079 >
This does not look resolve? Looking at the diff between 4.078 and 4.079: + if (grep { $_ eq ':nofqdn'} @_) + { + $NetAddr::IP::NetAddr::IP::Lite::NoFQDN = 1; + @_ = grep { $_ ne ':nofqdn' } @_; + } $NetAddr::IP::NetAddr::IP::Lite::NoFQDN ? I think it should be '$NetAddr::IP::Lite::NoFQDN'.. Also the commited test for this is disabled?