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 (Abbot) 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.