私が実行しているPerl6の/ rakudoのバージョンを確認する方法は?
質問
は-v
スイッチをしようと、私はオウムのSVNのリビジョンを取得します
$ perl6 -v
This compiler is built with the Parrot Compiler Toolkit, parrot revision 45822.
私はをrakudoバージョンを、vx.xx
または{some-git-hash}
のいずれかを知っていますか?
おかげで、
解決
現在、あなたが知っていることはできません:(
のhttp:レビューを待ってRTでそのためのパッチがあります: //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が動作するようになりました。それは最後の毎月のリリース、それ以来、コミットの数、およびgitのハッシュを提供しています。
ヒントを提供することができる特殊な変数$*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
...
所属していません StackOverflow