[macOS] Update default Perl (#2478)

* update default Perl

* escape $ sign
This commit is contained in:
Aleksandr Chebotov
2021-01-20 10:07:43 +03:00
committed by GitHub
parent c29e01a1da
commit c47ccfbf9a
7 changed files with 86 additions and 72 deletions

View File

@@ -163,6 +163,11 @@ function Get-NodeVersion {
return "Node.js $nodeVersion"
}
function Get-PerlVersion {
$version = Run-Command "perl -e 'print substr(`$^V,1)'"
return "Perl $version"
}
function Get-PythonVersion {
$pythonVersion = Run-Command "python --version"
return $pythonVersion