PERL-REVERSION(1)
π perl-reversion π
okay bestie, welcome to the perl-reversion page β it's a User Contributed Perl Documentation situation and it's here to fix your version numbers. no cap, this one is a lifesaver. π
β¨ NAME β¨
perl-reversion β Manipulate project version numbers π
π¦ SYNOPSIS π¦
perl-reversion [options] [file ...]
Options:
-help see this summary
-man view man page for perl-reversion
-bump make the smallest possible increment
-bump-revision increment the specified version component
-bump-version
-bump-subversion
-bump-alpha
-set <version> set the project version number
-current <version> specify the current version
-dskip specify a directory not to searched
you can specify multiple times
-normal print current version in a specific format OR
-numify force versions to be a specific format,
-stringify with -set or -bump
-dryrun just go through the motions, but don't
actually save files
πΈ DESCRIPTION πΈ
so picture this: a normal Perl module distribution has version numbers sprinkled absolutely everywhere. like, the version usually shows up in the README file, and in the source of every single module. and for a module the version can appear twice β once in the code and once in the pod. it's giving "why is this my problem" π
this script is the fix. it lets you update all of those version numbers with one simple command. iconic.
want to update specific files? just name them on the command line, bestie. any directories you hand over get recursively expanded. π«Ά
and if you run it with no filename arguments at all, perl-reversion will attempt to update README and any files below lib/ in the current project. automatic. we love her.
π OPTIONS π
-bumpβ try to make the smallest possible increment to the version. the least significant part of the version string gets bumped. so like:
1 => 2
1.1 => 1.2
1.1.1 => 1.1.2
1.1.1_1 => 1.1.1_2
-bump-revision,-bump-version,-bump-subversion,-bump-alphaβ increment the specified version component. just like theinc_*methods ofPerl::Version, incrementing a component sets all the components to the right of it to zero. so heads up, bestie, the stuff on the right gets wiped.-set <version>β set the version to the specified value. unless the-normaloption is also specified, the format of each individual version string will be preserved. π-current <version>β specify the current version. only matching version strings will be updated. it's a vibe check for your versions, fr fr.-dskip <dir>β specify the directory dir not to search. you can pick this option multiple times. π-normal,-numify,-stringifyβ use a specific formatting, as in "Formatting" inPerl::Version.
alone, these options control how the current (found) version is displayed.
with -bump or -set, they also update version strings to have the given formatting, regardless of the version format passed to -set or the current version (for -bump).
if none of these options are specified, perl-reversion will preserve the formatting of each individual version string β the same as -stringify. β¨
-dryrunβ if set,perl-reversionwill not save files. use this to see what gets changed before it actually happens. bestie. always dry run first, i'm begging. π
π§ SOURCE π§
the source is available at:
https://github.com/briandfoy/perl-version
π AUTHOR π
Andy Armstrong "<andy@hexten.net>"
currently maintained by brian d foy.
π LICENCE AND COPYRIGHT π
Copyright (c) 2007, Andy Armstrong "<andy@hexten.net>". All rights reserved.
this module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. see perlartistic.
π DISCLAIMER OF WARRANTY π
okay this part is all caps and it is not a joke, bestie. read it.
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
that's the whole page bestie, go bump some versions responsibly π
perl v5.42.0 Β· 2026-03-02 Β· mwah, xoxo, go slay your release process ππ¦π
π¦ where this page comes from
- fedora 44: perl-Perl-Version 1.019-1.fc44 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms