perl-5.18.1
is just an arbitrary name. You sure picked a weird one for an install of 5.18.2!
This is my list on one machine:
5.8.9 # 5.8.9
5.8.9d # Debugging build of 5.8.9
5.14.2 # 5.14.2
feed_fetcher (5.14.2) # Used by specific project
5.16.3t # Threaded build of 5.16.3
* 5.18.0t # Threaded build of 5.18.0
latest (5.18.0) # An (outdated) alias
Unfortunately, you can't fix this by simply renaming the directory. You can do perlbrew install 5.18.2
to install 5.18.2 as 5.18.2
, make sure it works, then delete $PERLBREW_ROOT/perls/5.18.1
.
If you plan on upgrading a build using upgrade-perl
, create it as follows:
perlbrew install --as 5.18 5.18.0
You'd switch to that install using
perlbrew use 5.18 # This shell only
perlbrew switch 5.18 # Switch default
That way, the name will still make sense after you issue perlbrew upgrade-perl
.