Skip Menu |

This queue is for tickets about the Modern-Perl CPAN distribution.

Report information
The Basics
Id: 47568
Status: resolved
Priority: 0/
Queue: Modern-Perl

Owner: Nobody in particular
Requestors: tomdegisi [...]

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

Subject: Perl::Critic Warning
Date: Sat, 4 Jul 2009 14:49:10 -0500
To: bug-Modern-Perl [...]
From: Tom DeGisi <tomdegisi [...]>
Download (untitled) / with headers
text/plain 904b
chromatic, I maintain a small amount of Perl code on the DarkPAN and am trying to modernise. (Keep advocating for responsible, frequent updates. I work with Vinnie Alves of We can handle it.) I have loaded Strawberry Perl on my personal laptop, and pulled down Perl::Critic, Padre and Modern::Perl from the cpan command line. Here's my little use Modern::Perl; say "hello"; I get this warning from Perl::Critic: C:\Users\Public\Documents\Dad\Perl>perlcritic Code before strictures are enabled at line 4, column 1. See page 429 of PBP. (Severity: 5) C:\Users\Public\Documents\Dad\Perl> When I add "use strict;" at the top, the warning goes away. This seems a waste, since Modern::Perl enables use strict. I don't know if there is a way to get Modern::Perl to suppress this warning, but I thought I would ask. Thanks, 3om Tom DeGisi
From: tomas.znamenacek [...]
See the following bug filed for Perl::Critic:
Perl::Critic should handle this. Not much Modern::Perl can do here.

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

Please report any issues with to