
> 5.20.0安装为5.20和
> 5.20.0,螺纹安装为5.20t
这是perlbrew列表的输出
* 5.20 (5.20.0) 5.20t (5.20.0)
然后我用Perl将Perl升级到5.20.1
$perlbrew upgrade-perlUpgrading 5.20 to 5.20.1Installing /Users/corti/perl5/perlbrew/build/perl-5.20.1 into ~/perl5/perlbrew/perls/5.20This Could take a while. You can run the following command on another shell to track the status: tail -f ~/perl5/perlbrew/build.perl-5.20.1.log5.20 is successfully installed.
Perl似乎正确升级(v5.20.1):
$perl -versionThis is perl 5,version 20,subversion 1 (v5.20.1) built for darwin-2levelcopyright 1987-2014,Larry WallPerl may be copIEd only under the terms of either the Artistic license or theGNU General Public license,which may be found in the Perl 5 source kit.Complete documentation for Perl,including FAQ Lists,should be found onthis system using "man perl" or "perldoc perl". If you have access to theInternet,point your browser at http://www.perl.org/,the Perl Home Page.
但perlbrew列表无法识别新版本,并且调用perlbrew upgrade-perl会再次进行升级
$perlbrew List* 5.20 (5.20.0) 5.20t (5.20.0)
为什么perlbrew不承认更新?
解决方法 因为perlbrew会检查是否存在一个名为的文件perls/*/.version
并使用其内容来确定安装了哪个版本的Perl.如果找不到该文件,则会回退到运行perl可执行文件
perls/*/bin/perl
确定已安装的版本并创建.version文件.
upgrade-perl命令无法更新文件,因此后续运行无法正确检测已安装的版本.我已经提交了bug report
总结以上是内存溢出为你收集整理的Perlbrew列表和错误的版本号全部内容,希望文章能够帮你解决Perlbrew列表和错误的版本号所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)