Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Dist::Zilla::Plugin::PkgVersion vs. Perl::Critic and strictures

by emazep (Priest)
on Jan 21, 2011 at 11:28 UTC ( #883514=note: print w/ replies, xml ) Need Help??


in reply to Dist::Zilla::Plugin::PkgVersion vs. Perl::Critic and strictures

I had the same problem and I've solved it this way:

## no critic package My::Package; ## use critic use strict; use warnings;
so that Dist::Zilla::Plugin::PkgVersion will expand it to:
## no critic package My::Package; BEGIN { $My::Package::VERSION = '1.23'; } ## use critic use strict; use warnings;
and everyone is happy :-)


Comment on Re: Dist::Zilla::Plugin::PkgVersion vs. Perl::Critic and strictures
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://883514]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (14)
As of 2015-07-02 08:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (31 votes), past polls