| 1 | # Copyright 2016 - present MongoDB, Inc. | ||||||||||
| 2 | # | ||||||||||
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||||||||||
| 4 | # you may not use this file except in compliance with the License. | ||||||||||
| 5 | # You may obtain a copy of the License at | ||||||||||
| 6 | # | ||||||||||
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 | ||||||||||
| 8 | # | ||||||||||
| 9 | # Unless required by applicable law or agreed to in writing, software | ||||||||||
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, | ||||||||||
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||||||||
| 12 | # See the License for the specific language governing permissions and | ||||||||||
| 13 | # limitations under the License. | ||||||||||
| 14 | |||||||||||
| 15 | 60 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 16 | 60 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 17 | |||||||||||
| 18 | package MongoDB::_Platform; | ||||||||||
| 19 | |||||||||||
| 20 | 60 | ▶ | use version; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 21 | 60 | our $VERSION = 'v2.2.2'; | |||||||||
| 22 | |||||||||||
| 23 | 60 | ▶ | use Config; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 24 | |||||||||||
| 25 | 0 | ▶ | sub os_type { | ||||||||
|
Subroutine
os_type: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 26 | 0 | ▶ | return ($^O eq "MSWin32") ? "Windows" : $^O; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 27 | } | ||||||||||
| 28 | |||||||||||
| 29 | 0 | ▶ | sub platform_details { | ||||||||
|
Subroutine
platform_details: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 30 | 0 | my $perl_version = version->new($])->normal; | |||||||||
| 31 | 0 | return "Perl $perl_version $Config{archname}"; | |||||||||
| 32 | } | ||||||||||
| 33 | |||||||||||
| 34 | 60 | 1; | |||||||||