line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Pod::Perldoc::ToNroff; |
2
|
1
|
|
|
1
|
|
1336
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
26
|
|
3
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
26
|
|
4
|
1
|
|
|
1
|
|
459
|
use parent qw(Pod::Perldoc::BaseTo); |
|
1
|
|
|
|
|
224
|
|
|
1
|
|
|
|
|
4
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
113
|
use vars qw($VERSION); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
61
|
|
7
|
|
|
|
|
|
|
$VERSION = '3.27'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# This is unlike ToMan.pm in that it emits the raw nroff source! |
10
|
|
|
|
|
|
|
|
11
|
0
|
|
|
0
|
0
|
|
sub is_pageable { 1 } # well, if you ask for it... |
12
|
0
|
|
|
0
|
0
|
|
sub write_with_binmode { 0 } |
13
|
0
|
|
|
0
|
0
|
|
sub output_extension { 'man' } |
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
625
|
use Pod::Man (); |
|
1
|
|
|
|
|
7202
|
|
|
1
|
|
|
|
|
331
|
|
16
|
|
|
|
|
|
|
|
17
|
0
|
|
|
0
|
0
|
|
sub center { shift->_perldoc_elem('center' , @_) } |
18
|
0
|
|
|
0
|
0
|
|
sub date { shift->_perldoc_elem('date' , @_) } |
19
|
0
|
|
|
0
|
0
|
|
sub fixed { shift->_perldoc_elem('fixed' , @_) } |
20
|
0
|
|
|
0
|
0
|
|
sub fixedbold { shift->_perldoc_elem('fixedbold' , @_) } |
21
|
0
|
|
|
0
|
0
|
|
sub fixeditalic { shift->_perldoc_elem('fixeditalic' , @_) } |
22
|
0
|
|
|
0
|
0
|
|
sub fixedbolditalic { shift->_perldoc_elem('fixedbolditalic', @_) } |
23
|
0
|
|
|
0
|
0
|
|
sub quotes { shift->_perldoc_elem('quotes' , @_) } |
24
|
0
|
|
|
0
|
0
|
|
sub release { shift->_perldoc_elem('release' , @_) } |
25
|
0
|
|
|
0
|
0
|
|
sub section { shift->_perldoc_elem('section' , @_) } |
26
|
|
|
|
|
|
|
|
27
|
0
|
|
0
|
0
|
0
|
|
sub new { return bless {}, ref($_[0]) || $_[0] } |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
sub parse_from_file { |
30
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
31
|
0
|
|
|
|
|
|
my $file = $_[0]; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
my @options = |
34
|
0
|
|
|
|
|
|
map {; $_, $self->{$_} } |
|
0
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
grep !m/^_/s, |
36
|
|
|
|
|
|
|
keys %$self |
37
|
|
|
|
|
|
|
; |
38
|
|
|
|
|
|
|
|
39
|
0
|
0
|
0
|
|
|
|
defined(&Pod::Perldoc::DEBUG) |
|
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
40
|
|
|
|
|
|
|
and Pod::Perldoc::DEBUG() |
41
|
|
|
|
|
|
|
and print "About to call new Pod::Man ", |
42
|
|
|
|
|
|
|
$Pod::Man::VERSION ? "(v$Pod::Man::VERSION) " : '', |
43
|
|
|
|
|
|
|
"with options: ", |
44
|
|
|
|
|
|
|
@options ? "[@options]" : "(nil)", "\n"; |
45
|
|
|
|
|
|
|
; |
46
|
|
|
|
|
|
|
|
47
|
0
|
|
|
|
|
|
Pod::Man->new(@options)->parse_from_file(@_); |
48
|
|
|
|
|
|
|
} |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
1; |
51
|
|
|
|
|
|
|
__END__ |