Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 cooling their heels in the Monastery: (7)
As of 2014-12-29 10:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (186 votes), past polls