Bug#697329: libperl-critic-perl: Use of uninitialized values due to verbose %r
Guillem Jover
guillem at debian.org
Fri Jan 4 00:10:37 UTC 2013
Package: libperl-critic-perl
Version: 1.118-1
Severity: normal
Tags: upstream
Hi!
While running perlcritic over the dpkg code base I've found a file
perlcritic trips over. As I'm fixing issues, the file might not show
those when it gets looked at so here's a reference to a specific git
blob object:
<http://anonscm.debian.org/gitweb/?p=dpkg/dpkg.git;a=blob;f=scripts/dpkg-genchanges.pl;h=082664140fec005917d58e7aa9866de63dfc0330;hb=HEAD>
I seem to have tracked the issue down to being triggered by the '%r'
verbose format. To reproduce, with an empty .perlcriticrc, run:
$ perlcritic -1 --verbose "%l:%c near '%r'\n" dpkg-genchanges.pl
Notice the empty '%r' expansions.
Thanks,
Guillem
More information about the pkg-perl-maintainers
mailing list