| 1 | 2 | ▶ | use 5.006; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 2 | 2 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 2 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 2 | ▶ | use utf8; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | package # | ||||||||||
| 7 | common::sense; | ||||||||||
| 8 | |||||||||||
| 9 | 2 | our $AUTHORITY = 'cpan:TOBYINK'; | |||||||||
| 10 | 2 | our $VERSION = '3.73'; | |||||||||
| 11 | |||||||||||
| 12 | sub import | ||||||||||
| 13 | 2 | ▶ | { | ||||||||
|
Subroutine
import: called CC=4 SCAR=14.0
| |||||||||||
| 14 | # utf8 | ||||||||||
| 15 | 2 | 'utf8'->import; | |||||||||
| 16 | |||||||||||
| 17 | # strict | ||||||||||
| 18 | 2 | 'strict'->import( qw(vars subs) ); | |||||||||
| 19 | |||||||||||
| 20 | # feature | ||||||||||
| 21 | 2 | ▶ | if ($] >= 5.010) | ||||||||
|
Branch: 1 branch
| |||||||||||
| 22 | { | ||||||||||
| 23 | 2 | require feature; | |||||||||
| 24 | 2 | 'feature'->import( qw(say state switch) ); | |||||||||
| 25 | 2 | ▶ | 'feature'->import( qw(unicode_strings) ) if $] >= 5.012; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 26 | 2 | ▶ | if ($] >= 5.016) | ||||||||
|
Branch: 1 branch
| |||||||||||
| 27 | { | ||||||||||
| 28 | 2 | 'feature'->import( qw(current_sub fc evalbytes) ); | |||||||||
| 29 | 2 | 'feature'->unimport( qw(array_base) ); | |||||||||
| 30 | } | ||||||||||
| 31 | } | ||||||||||
| 32 | |||||||||||
| 33 | # warnings | ||||||||||
| 34 | 2 | 'warnings'->unimport; | |||||||||
| 35 | 2 | 'warnings'->import( | |||||||||
| 36 | qw( | ||||||||||
| 37 | FATAL closed threads internal debugging pack | ||||||||||
| 38 | portable prototype inplace io pipe unpack malloc | ||||||||||
| 39 | glob digit printf layer | ||||||||||
| 40 | reserved taint closure semicolon | ||||||||||
| 41 | ) | ||||||||||
| 42 | ); | ||||||||||
| 43 | 2 | 'warnings'->unimport( qw(exec newline unopened) ); | |||||||||
| 44 | } | ||||||||||
| 45 | |||||||||||
| 46 | 2 | 1; | |||||||||