Skip Menu |

This queue is for tickets about the PAR-Packer CPAN distribution.

Report information
The Basics
Id: 48150
Status: new
Priority: 0/
Queue: PAR-Packer

Owner: Nobody in particular
Requestors: bram.stappers [...]

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

Subject: Minor issue: Use of uninitialized value in length at PAR/ line 784
Date: Fri, 24 Jul 2009 09:13:18 +0200
To: bug-PAR-Packer [...]
From: Bram Stappers <bram.stappers [...]>
Download (untitled) / with headers
text/plain 1.5k
First off: thanks for this wonderful tool! Info PAR::Packer: PAR-Packer-0.991 Perl: This is perl, v5.8.9 built for x86_64-linux-thread-multi (with 5 registered patches, see perl -V for more detail) Copyright 1987-2008, Larry Wall Binary build 825 [288577] provided by ActiveState Built Dec 14 2008 19:55:40 System: Linux quadje #1 SMP Mon Feb 23 13:00:23 EST 2009 x86_64 x86_64 x86_64 GNU/Linux Problem pp invocation: pp @build/ppflags.txt -o script.bin -S -a "../generic/Unix/;lib/" -a "../generic/Unix/Win32/;lib/Win32/" -a "../generic/Unix/Win32/;lib/Win32/" build/ Use of uninitialized value in length at .../perl64/site/lib/PAR/ line 784. Use of uninitialized value in length at .../perl64/site/lib/PAR/ line 784. with ppflags.txt: -I inc1 -I inc2 -I inc3 -M mod1 -M mod2 -M mod3 Fix (This just suppresses the symptom and the result works for me -- I have no clue as to the root cause, since I did not bother to look for it.) --- ../site/lib/PAR/ 2009-07-24 09:05:50.000000000 +0200 +++ ../site/lib/PAR/ 2009-07-24 09:06:11.000000000 +0200 @@ -781,7 +781,7 @@ (my $privlib = $Config{privlib}) =~ s{\\}{/}g; (my $archlib = $Config{archlib}) =~ s{\\}{/}g; - foreach my $pfile (sort grep length $map{$_}, keys %map) { + foreach my $pfile (sort grep length($map{$_} || ''), keys %map) { next if !$opt->{B} and ( ($map{$pfile} eq "$privlib/$pfile") or ($map{$pfile} eq "$archlib/$pfile")

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to