| 1 | package XML::Feed::Content; | ||||||||||
| 2 | 35 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 35 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | |||||||||||
| 5 | 35 | our $VERSION = '1.0.1'; | |||||||||
| 6 | |||||||||||
| 7 | 35 | ▶ | use base qw( Class::ErrorHandler ); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | 23 | ▶ | sub wrap { | ||||||||
|
Subroutine
wrap: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 10 | 23 | my $class = shift; | |||||||||
| 11 | 23 | my($c) = @_; | |||||||||
| 12 | 23 | bless { %$c }, $class; | |||||||||
| 13 | } | ||||||||||
| 14 | 35 | *new = \&wrap; | |||||||||
| 15 | |||||||||||
| 16 | 45 | ▶ | sub _var { | ||||||||
|
Subroutine
_var: called CC=2 SCAR=6.9
| |||||||||||
| 17 | 45 | my $content = shift; | |||||||||
| 18 | 45 | my $var = shift; | |||||||||
| 19 | 45 | ▶ | $content->{$var} = shift if @_; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 20 | 45 | $content->{$var}; | |||||||||
| 21 | } | ||||||||||
| 22 | |||||||||||
| 23 | 15 | ▶ | sub type { shift->_var('type', @_) } | ||||||||
|
Subroutine
type: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 24 | 20 | ▶ | sub body { shift->_var('body', @_) } | ||||||||
|
Subroutine
body: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 25 | 10 | ▶ | sub base { shift->_var('base', @_) } | ||||||||
|
Subroutine
base: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 26 | |||||||||||
| 27 | 35 | 1; | |||||||||
| 28 | __END__ | ||||||||||