Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Don’t Repeat Your… version number

by liz (Monsignor)
on Jul 23, 2006 at 19:23 UTC ( #563150=note: print w/ replies, xml ) Need Help??


in reply to Re: Don’t Repeat Your… version number
in thread Don’t Repeat Your… version number

FWIW, my module Devel::Required takes a similar approach to automatically update version information for required external modules. I guess it could be easily expanded to include the version information of the module itself.

Liz


Comment on Re^2: Don’t Repeat Your… version number
Re^3: Don’t Repeat Your… version number
by Aristotle (Chancellor) on Jul 24, 2006 at 02:01 UTC

    That would be grand. The less boilerplate I need to deploy, the better.

    Makeshifts last the longest.

      Devel::Required 0.07 now on its way to CPAN. It includes support for (assuming your module's version is 1.01) automatically replacing:
      Version:
      with:
      Version: 1.01
      in README type text files, and:
      =head1 VERSION
      with:
      =head1 VERSION This documentation describes version 1.01.
      in pod type files (such as your module's source) each time your run "perl Makefile.PL". The version information is automatically obtained form the generated "Makefile", so it automatically uses any heuristics that ExtUtils::MakeMaker uses. For more information, see the pod of Devel::Required.

      For the people who can't wait until it is replicated all over the world, you can get a copy from my own CPAN directory

      Have fun!

      Liz.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2014-07-26 03:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls