尝试 -v 切换的,我得到的鹦鹉svn修订:

$ perl6 -v
This compiler is built with the Parrot Compiler Toolkit, parrot revision 45822.

但是我怎么知道的 rakudo版本, , vx.xx{some-git-hash}?

谢谢,

有帮助吗?

解决方案

目前,你可不知道:(

还有一个贴,在RT,正等待审查: http://rt.perl.org/rt3/Ticket/Display.html?id=73148 但迄今为止它还没有被应用。

更新:有足够的新Rakudo,你会得到:

$ perl6 -v

This is Rakudo Perl 6, version 2010.06-212-g1086ff8

Copyright 2008-2010, The Perl Foundation

哪里的事情后"版,"是的 git describe 输出。

其他提示

perl6-v现在的作品。它提供了最后一个月每月释放的数量提交,自此以后,以及从初的散列。

特别变量 $*PERL 可以提供的暗示

> $*PERL.compiler
rakudo (2018.04.1)

> $*PERL.compiler.^attributes                                                                                                                                                                                     
(Str $!id Str $!release Str $!build-date Str $!codename Str $!name Str $!auth Version $!version Blob $!signature Str $!desc)

> $*PERL.compiler.^methods'                                                                                                                                                                                            
(BUILD build-date verbose-config Str gist id release codename name auth version signature desc BUILDALL) 

> $*PERL.compiler.name                                                                                                                                                                                       
rakudo

> $*PERL.compiler.version                                                                                                                                                                                       
v2018.04.1 

> $*PERL.compiler.auth                         
The Perl Foundation  

> $*PERL.compiler.build-date  # This being the date it was built on my machine                                                                                                                                                                                    
2018-05-18T21:59:11Z 

> $*PERL.compiler.verbose-config
...
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top