Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 scrutinizing the Monastery: (9)
As of 2014-09-17 21:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (99 votes), past polls