Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^3: $VERSION in module files

by tobyink (Canon)
on Mar 26, 2020 at 16:04 UTC ( #11114683=note: print w/replies, xml ) Need Help??

in reply to Re^2: $VERSION in module files
in thread $VERSION in module files

I usually use perl-reversion for changing all the version numbers for every module in a distribution.

Replies are listed 'Best First'.
Re^4: $VERSION in module files
by bliako (Monsignor) on Mar 27, 2020 at 12:55 UTC

    perl-reversion works for me. It changed both our $VERSION and POD versions. Worrying thing is that it scanned bash files too... (just tried inserting a VERSION=0.21 in a bash script and perl-reversion bumped that version too. Definetely good to know but perhaps a bit dangerous.)

      You can give it a list of files and directories to limit what it scans. Hopefully if you do perl-reversion --bump bin/*.pl lib it'll only be finding Perl files.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2022-05-27 22:30 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (98 votes). Check out past polls.