line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# -*- perl -*- |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# Author: Slaven Rezic |
5
|
|
|
|
|
|
|
# |
6
|
|
|
|
|
|
|
# Copyright (C) 2009 Slaven Rezic. All rights reserved. |
7
|
|
|
|
|
|
|
# This package is free software; you can redistribute it and/or |
8
|
|
|
|
|
|
|
# modify it under the same terms as Perl itself. |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# Mail: slaven@rezic.de |
11
|
|
|
|
|
|
|
# WWW: http://www.rezic.de/eserte/ |
12
|
|
|
|
|
|
|
# |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
require 5; |
15
|
|
|
|
|
|
|
package Pod::Perldoc::ToTextOverstrike; |
16
|
1
|
|
|
1
|
|
1650
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
36
|
|
17
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
38
|
|
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
1
|
|
5
|
use vars qw($VERSION); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
47
|
|
20
|
|
|
|
|
|
|
$VERSION = "0.01"; |
21
|
|
|
|
|
|
|
|
22
|
1
|
|
|
1
|
|
5
|
use base qw(Pod::Perldoc::ToText); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
185
|
|
23
|
|
|
|
|
|
|
|
24
|
1
|
|
|
1
|
|
1023
|
use Pod::Text::Overstrike (); |
|
1
|
|
|
|
|
1410
|
|
|
1
|
|
|
|
|
205
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
sub parse_from_file { |
27
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
my @options = |
30
|
0
|
|
|
|
|
|
map {; $_, $self->{$_} } |
|
0
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
grep !m/^_/s, |
32
|
|
|
|
|
|
|
keys %$self |
33
|
|
|
|
|
|
|
; |
34
|
|
|
|
|
|
|
|
35
|
0
|
0
|
0
|
|
|
|
defined(&Pod::Perldoc::DEBUG) |
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
36
|
|
|
|
|
|
|
and Pod::Perldoc::DEBUG() |
37
|
|
|
|
|
|
|
and print "About to call new Pod::Text::Overstrike ", |
38
|
|
|
|
|
|
|
$Pod::Text::Overstrike::VERSION ? "(v$Pod::Text::Overstrike::VERSION) " : '', |
39
|
|
|
|
|
|
|
"with options: ", |
40
|
|
|
|
|
|
|
@options ? "[@options]" : "(nil)", "\n"; |
41
|
|
|
|
|
|
|
; |
42
|
|
|
|
|
|
|
|
43
|
0
|
|
|
|
|
|
Pod::Text::Overstrike->new(@options)->parse_from_file(@_); |
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
1; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
__END__ |