« lib/Perlmazing/Perlmazing/Precompile/merge.pm
↑ Summary
lib/Perlmazing/Perlmazing/Precompile/not_empty.pm »
| 1 | package Perlmazing::Feature; | ||||||||||
| 2 | 30 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 30 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 30 | ▶ | use version; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 30 | our $VERSION = '1.2812'; | |||||||||
| 6 | 30 | our @ISA = qw(feature); | |||||||||
| 7 | 30 | our $MAX_VERSION = '5.028000'; | |||||||||
| 8 | |||||||||||
| 9 | 1423 | ▶ | sub import { | ||||||||
|
Subroutine
import: called CC=4 SCAR=13.9
| |||||||||||
| 10 | 1423 | my $self = shift; | |||||||||
| 11 | 1423 | my $version = $]; | |||||||||
| 12 | 1423 | ▶ | $MAX_VERSION = $] if $MAX_VERSION > $]; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 13 | 1423 | ▶ | $version = $MAX_VERSION if $version > $MAX_VERSION; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 14 | 1423 | strict->import; | |||||||||
| 15 | 1423 | warnings->import; | |||||||||
| 16 | 1423 | eval { | |||||||||
| 17 | 1423 | require feature; | |||||||||
| 18 | 1423 | ▶ | $Perlmazing::Feature::{unknown_feature_bundle} = sub {} unless defined $Perlmazing::Feature::{unknown_feature_bundle}; | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=0.0
Branch: 1 branch
| |||||||||||
| 19 | 1423 | $self->SUPER::import(':'.substr version->new($version)->normal, 1); | |||||||||
| 20 | }; | ||||||||||
| 21 | } | ||||||||||
| 22 | |||||||||||
| 23 | 30 | 1; | |||||||||
| 24 | |||||||||||
| 25 | __END__ | ||||||||||