| 1 | package EPUB::Parser::File::OPF::Context::Guide; | ||
| 2 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use Carp; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | ▶ | use parent 'EPUB::Parser::File::OPF::Context'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | sub list { | ||
| 8 | 1 | ▶ | my $self = shift; |
|
Subroutine
list: called CC=1 SCAR=0.0
Pod
documented
| |||
| 9 | 1 | my @guide = $self->parser->in_guide->find('pkg:reference'); | |
| 10 | 1 | return @guide; | |
| 11 | } | ||
| 12 | |||
| 13 | |||
| 14 | 1 | 1; | |
| 15 | |||
| 16 | __END__ | ||
| 17 | |||
| 18 | =encoding utf-8 | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | EPUB::Parser::File::OPF::Context::Guide - parses guide node in opf file | ||
| 23 | |||
| 24 | =head1 METHODS | ||
| 25 | |||
| 26 | =head2 list | ||
| 27 | |||
| 28 | Return reference elements in guide. | ||
| 29 | Element is XML::LibXML::Element. | ||
| 30 | |||
| 31 | =head1 LICENSE | ||
| 32 | |||
| 33 | Copyright (C) tokubass. | ||
| 34 | |||
| 35 | This library is free software; you can redistribute it and/or modify | ||
| 36 | it under the same terms as Perl itself. | ||
| 37 | |||
| 38 | =head1 AUTHOR | ||
| 39 | |||
| 40 | tokubass E<lt>tokubass {at} cpan.orgE<gt> | ||
| 41 | |||
| 42 | =cut | ||
| 43 | |||
| 44 | |||