Bug#697329: libperl-critic-perl: Use of uninitialized values due to verbose %r
Salvatore Bonaccorso
carnil at debian.org
Fri Jan 4 21:28:30 UTC 2013
Control: forwarded -1 https://rt.cpan.org/Public/Bug/Display.html?id=82415
Hi Guillem
On Fri, Jan 04, 2013 at 01:10:37AM +0100, Guillem Jover wrote:
> 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.
Indeed, thanks for noticing this. I have forwarded your report to
upstream, including a smaller example where this happens.
Regards,
Salvatore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20130104/83f1c4cc/attachment.pgp>
More information about the pkg-perl-maintainers
mailing list