Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 musing on the Monastery: (4)
As of 2014-08-31 01:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls