| 1 | package Fennec::Declare::Magic; | ||
| 2 | 12 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 12 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 12 | ▶ | use Devel::Declare::Interface; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 12 | ▶ | use Devel::Declare::Parser; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 12 | ▶ | use Devel::Declare::Parser::Fennec; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 12 | ▶ | sub import { |
|
Subroutine
import: called CC=2 SCAR=6.9
| |||
| 10 | 12 | my $class = shift; | |
| 11 | 12 | my $destination = caller; | |
| 12 | |||
| 13 | 12 | enhance( $destination, $_, "fennec" ) for qw/ | |
| 14 | tests describe it cases case before_each after_each around_each | ||
| 15 | before_all after_all around_all before_case after_case | ||
| 16 | /; | ||
| 17 | } | ||
| 18 | |||
| 19 | 12 | 1; | |