| 1 | package Text::Keywords::List; | ||
| 2 | 2 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 2 | $Text::Keywords::List::AUTHORITY = 'cpan:GETTY'; | |
| 4 | } | ||
| 5 | 2 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 2 | $Text::Keywords::List::VERSION = '0.900'; | |
| 7 | } | ||
| 8 | # ABSTRACT: Primitive keywords List class | ||
| 9 | |||
| 10 | 2 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | has keywords => ( | ||
| 13 | is => 'ro', | ||
| 14 | 0 | ▶ | default => sub {[]}, |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 15 | 2 | ); | |
| 16 | |||
| 17 | 78 | ▶ | sub count { |
|
Subroutine
count: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 18 | 78 | scalar @{shift->keywords}; | |
| 19 | } | ||
| 20 | |||
| 21 | 2 | 1; | |
| 22 | __END__ | ||