« blib/lib/App/Prove/Elasticsearch/Blamer/Git.pm
↑ Summary
blib/lib/App/Prove/Elasticsearch/Versioner/Git.pm »
| 1 | # ABSTRACT: Determine the platform of the system under test via System::Info for upload to elasticsearch | ||
| 2 | # PODNAME: App::Prove::Elasticsearch::Platformer::Default | ||
| 3 | |||
| 4 | package App::Prove::Elasticsearch::Platformer::Default; | ||
| 5 | 3 | $App::Prove::Elasticsearch::Platformer::Default::VERSION = '0.001'; | |
| 6 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 3 | ▶ | use utf8; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 3 | ▶ | use System::Info; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 1 | ▶ | sub get_platforms { |
|
Subroutine
get_platforms: called CC=1 SCAR=0.0
Pod
documented
| |||
| 13 | 1 | my $details = System::Info::sysinfo_hash(); | |
| 14 | 1 | return [ $details->{osname}, $details->{distro}, "Perl $]" ]; | |
| 15 | } | ||
| 16 | |||
| 17 | 3 | 1; | |
| 18 | |||
| 19 | __END__ | ||