1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: using qw() as parentheses is a fatal error now
Origin: vendor
Bug: https://rt.cpan.org/Public/Bug/Display.html?id=73317
Bug-Debian: http://bugs.debian.org/709681
Forwarded: not needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2013-05-25
--- a/lib/CGI/Application/Plugin/ViewCode.pm
+++ b/lib/CGI/Application/Plugin/ViewCode.pm
@@ -176,7 +176,7 @@
my $query = $self->query;
my %options;
- foreach my $opt qw(highlight line_no pod) {
+ foreach my $opt (qw(highlight line_no pod)) {
if( defined $query->param($opt) ) {
$options{$opt} = $query->param($opt);
} else {
|