gugod / App-perlbrew

Manage perl installations in your $HOME
https://perlbrew.pl
Other
719 stars 216 forks source link

Feature Request: an option to "install" to uninstall first. #772

Open demerphq opened 1 year ago

demerphq commented 1 year ago

I routinely have to do this:

perlbrew uninstall latest_blead
perlbrew install --notest --noman --as latest_blead --debug --thread --multi -Doptimize=-g -Dusedevel -j 16 ./

it would be nice if 'install' supported a way to uninstall the perl that is being built before installing it, if necessary. I havent debugged deeply, but running "install" with --as NAME where NAME already exists seems to compile and do something, but it doesnt seem to actually install the new version. It has been a while since the last time I did this, but I dont recall it warning me that the install failed. The only sign that I remember was that the new functionality I put into blead was not there.