feat(perl): Added perl version module (#1382)

Adds a module for perl support.
This commit is contained in:
Stéphane Benoit
2020-08-04 18:22:44 +02:00
committed by GitHub
parent c5f2eedf07
commit ef55042f2e
8 changed files with 304 additions and 0 deletions
+4
View File
@@ -111,6 +111,10 @@ active boot switches: -d:release\n",
stdout: String::from("4.08.1\n"),
stderr: String::default(),
}),
"perl -e printf q#%vd#,$^V;" => Some(CommandOutput {
stdout: String::from("5.26.1"),
stderr: String::default(),
}),
"php -nr 'echo PHP_MAJOR_VERSION.\".\".PHP_MINOR_VERSION.\".\".PHP_RELEASE_VERSION;'" => {
Some(CommandOutput {
stdout: String::from("7.3.8"),