line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Pod::PseudoPod::Book; |
2
|
|
|
|
|
|
|
# ABSTRACT: manages books written in the Pod::PseudoPod format |
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
865
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
34
|
|
5
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
63
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
518
|
use App::Cmd::Setup -app; |
|
1
|
|
|
|
|
50149
|
|
|
1
|
|
|
|
|
10
|
|
8
|
1
|
|
|
1
|
|
1012
|
use Config::Tiny; |
|
1
|
|
|
|
|
1123
|
|
|
1
|
|
|
|
|
150
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub config |
11
|
|
|
|
|
|
|
{ |
12
|
0
|
|
|
0
|
0
|
|
my $app = shift; |
13
|
0
|
|
0
|
|
|
|
$app->{config} ||= Config::Tiny->read( 'book.conf' ); |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub get_command |
17
|
|
|
|
|
|
|
{ |
18
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
19
|
0
|
|
|
|
|
|
my ($cmd, $opt, @args) = $self->SUPER::get_command( @_ ); |
20
|
|
|
|
|
|
|
|
21
|
0
|
0
|
|
|
|
|
unshift @args, 'build_xhtml' if $cmd eq 'buildepub'; |
22
|
|
|
|
|
|
|
|
23
|
0
|
|
|
|
|
|
return $cmd, $opt, @args; |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=pod |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=encoding UTF-8 |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 NAME |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Pod::PseudoPod::Book - manages books written in the Pod::PseudoPod format |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 VERSION |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
version 1.20210620.2051 |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 AUTHOR |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
chromatic <chromatic@wgz.org> |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
This software is copyright (c) 2011 by chromatic. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
51
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=cut |