| 1 | package XML::NewsML_G2::Role::Writer; | ||||||||||
| 2 | |||||||||||
| 3 | 24 | ▶ | use Moose::Role; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 24 | ▶ | use namespace::autoclean; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 56 | ▶ | sub _create_remote_content { | ||||||||
|
Subroutine
_create_remote_content: called CC=3 SCAR=11.0
| |||||||||||
| 7 | 56 | my ( $self, $root, $remote ) = @_; | |||||||||
| 8 | |||||||||||
| 9 | 56 | ▶ | $root->setAttribute( 'contenttype', $remote->mimetype ) | ||||||||
|
Branch: 1 branch
| |||||||||||
| 10 | if ( $remote->mimetype ); | ||||||||||
| 11 | |||||||||||
| 12 | 56 | ▶ | $root->setAttribute( 'size', $remote->size ) | ||||||||
|
Branch: 1 branch
| |||||||||||
| 13 | if ( defined $remote->size ); | ||||||||||
| 14 | |||||||||||
| 15 | 56 | return; | |||||||||
| 16 | } | ||||||||||
| 17 | |||||||||||
| 18 | 24 | 1; | |||||||||
| 19 | __END__ | ||||||||||