in reply to Re^2: Convincing Module::Install to put stuff in inc/ (zilla--)
in thread Convincing Module::Install to put stuff in inc/

"less whining about having to keep version numbers sync'ed across multiple library files"

Seen perl-reversion which comes with the Perl::Version module? It makes this a breeze. (In fact, DZ uses Perl::Version to do its version-setting dirty work, so if you've got DZ on your system, you've already got perl-reversion installed!)

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
  • Comment on Re^3: Convincing Module::Install to put stuff in inc/ (zilla--)

Replies are listed 'Best First'.
Re^4: Convincing Module::Install to put stuff in inc/ (zilla--)
by Oberon (Monk) on May 30, 2012 at 00:31 UTC
    Seen perl-reversion which comes with the Perl::Version module? It makes this a breeze. (In fact, DZ uses Perl::Version to do its version-setting dirty work, so if you've got DZ on your system, you've already got perl-reversion installed!)

    Ah, another good tip! I'll see if I can use this in my CPAN release script as a stopgap measure until I get around to investigating DZ more thoroughly. Thanx again!