| 1 | package DDG::Test::Longtail; | ||
| 2 | 1 | our $AUTHORITY = 'cpan:DDG'; | |
| 3 | # ABSTRACT: Adds keywords to easily test Longtail plugins. | ||
| 4 | 1 | $DDG::Test::Longtail::VERSION = '1017'; | |
| 5 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | ▶ | use Carp; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 1 | ▶ | use Test::More; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 1 | ▶ | use DDG::Test::Block; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 1 | ▶ | use DDG::Longtail; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 1 | ▶ | use Package::Stash; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | |||
| 14 | sub import { | ||
| 15 | 1 | ▶ | my ( $class, %params ) = @_; |
|
Subroutine
import: called CC=1 SCAR=0.0
| |||
| 16 | 1 | my $target = caller; | |
| 17 | 1 | my $stash = Package::Stash->new($target); | |
| 18 | } | ||
| 19 | |||
| 20 | 1 | 1; | |
| 21 | |||
| 22 | __END__ | ||