| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package XML::NewsML_G2::Role::Writer::Package_Item; |
|
2
|
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
1413
|
use Moose::Role; |
|
|
2
|
|
|
|
|
4
|
|
|
|
2
|
|
|
|
|
18
|
|
|
4
|
2
|
|
|
2
|
|
10012
|
use namespace::autoclean; |
|
|
2
|
|
|
|
|
6
|
|
|
|
2
|
|
|
|
|
17
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
with 'XML::NewsML_G2::Role::Writer'; |
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
around '_build_g2_catalog_schemes' => sub { |
|
9
|
|
|
|
|
|
|
my ( $orig, $self, @args ) = @_; |
|
10
|
|
|
|
|
|
|
my $result = $self->$orig(@args); |
|
11
|
|
|
|
|
|
|
$result->{group} = undef; |
|
12
|
|
|
|
|
|
|
return $result; |
|
13
|
|
|
|
|
|
|
}; |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
1; |
|
16
|
|
|
|
|
|
|
__END__ |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 NAME |
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
XML::NewsML_G2::Role::Writer::Package_Item - Role for writing package items |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
This module serves as a role for all NewsML-G2 writer classes and get automatically applied when the according news item type is written |
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 AUTHOR |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Christian Eder C<< <christian.eder@apa.at> >> |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 LICENCE AND COPYRIGHT |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Copyright (c) 2014, APA-IT. All rights reserved. |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
See L<XML::NewsML_G2> for the license. |