Skip Menu |

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

Report information
The Basics
Id: 129391
Status: new
Priority: 0/
Queue: Net-IP

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

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



Subject: Documented arguments for ip_prefix_to_range are incorrect
The arguments documented in the pod are =head2 ip_prefix_to_range Get a range of IPs from a prefix. Params : Prefix, IP version Returns : First IP, last IP C<($ip1,$ip2) = ip_prefix_to_range ($prefix,6);> However in the code, the commented stub shows #------------------------------------------------------------------------------ # Subroutine ip_prefix_to_range # Purpose : Get a range from a prefix # Params : IP, Prefix length, IP version # Returns : First IP, last IP sub ip_prefix_to_range { my ($ip, $len, $ip_version) = @_; ... } Clearly the documented version is incorrect as the actual code signature agrees with the stub above it. This should be corrected to avoid user frustration.