reference to undefined scalar in version number extraction from $Revision$
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libnet-patricia-perl (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: libnet-
Patricia.pm fails to compile when a script using it is run with "perl -w".
1) Environment
% lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04
2) Package version
% apt-cache policy libnet-
libnet-
Installed: 1.15-1
Candidate: 1.15-1
Version table:
*** 1.15-1 0
500 http://
100 /var/lib/
3) Expected behaviour
Should be able to use "#!perl -w" in scripts using Net::Patricia.
4) Observed behaviour
% perl -w -Mstrict -MNet::Patricia -e ''
Use of uninitialized value $3 in concatenation (.) or string at /usr/lib/
Ville Mattila writes:
> Patricia.pm fails to compile when a script using it is run with
> "perl -w".
> 4) Observed behaviour perl5/Net/ Patricia. pm line 34.
> % perl -w -Mstrict -MNet::Patricia -e ''
> Use of uninitialized value $3 in concatenation (.) or string at
> /usr/lib/
Giving a warning when using -w should not make the module unusable.
If that is too annoying, using "use warnings;" instead of the "-w"
option should hide the warning as well.
Given that this is fixed in 1.16 (already in maverick), I don't think
there is a need for a SRU for this bug.
Regards,
Ansgar