1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
.TH VIEWPERL "1" "August 2007" "viewperl" "User Commands"
.SH NAME
viewperl - quickly view syntax highlighted Perl code
.SH SYNOPSIS
.B viewperl
[\fIOPTION\fR]... \fIFILE\fR...
.SH DESCRIPTION
View a Perl source code file, syntax highlighted.
.TP
\fB\-c\fR, \fB\-\-code\fR=\fICODE\fR
view CODE, syntax highlighted
.TP
\fB\-l\fR, \fB\-\-lines\fR
display line numbers
.TP
\fB\-L\fR, \fB\-\-no\-lines\fR
suppress display of line numbers (default)
.TP
\fB\-m\fR, \fB\-\-module\fR=\fIFILE\fR
consider FILE the name of a module, not a file name
.TP
\fB\-n\fR, \fB\-\-name\fR
display the name of each file (default)
.TP
\fB\-N\fR, \fB\-\-no\-name\fR
suppress display of file names (implied by \fB\-\-no\-reset\fR)
.TP
\fB\-p\fR, \fB\-\-pod\fR
display inline POD documentation (default)
.TP
\fB\-P\fR, \fB\-\-no\-pod\fR
hide POD documentation (line numbers still increment)
.TP
\fB\-r\fR, \fB\-\-reset\fR
reset formatting and line numbers each file (default)
.TP
\fB\-R\fR, \fB\-\-no\-reset\fR
suppress resetting of formatting and line numbers
.TP
\fB\-s\fR, \fB\-\-shift\fR=\fIWIDTH\fR
set tab width (default is 4)
.TP
\fB\-t\fR, \fB\-\-tabs\fR
translate tabs into spaces (default)
.TP
\fB\-T\fR, \fB\-\-no\-tabs\fR
suppress translating of tabs into spaces
.TP
\fB\-\-help\fR
display this help and exit
.PP
Note that module names should be given as they would appear after a Perl `use' or
`require' statement. `Getopt::Long', for example.
.PP
Each string given using \fB\-c\fR is considered a different file, so line number and
formatting resets will apply.
.PP
View a Perl source code file, syntax highlighted.
.TP
\fB\-c\fR, \fB\-\-code\fR=\fICODE\fR
view CODE, syntax highlighted
.TP
\fB\-l\fR, \fB\-\-lines\fR
display line numbers
.TP
\fB\-L\fR, \fB\-\-no\-lines\fR
suppress display of line numbers (default)
.TP
\fB\-m\fR, \fB\-\-module\fR=\fIFILE\fR
consider FILE the name of a module, not a file name
.TP
\fB\-n\fR, \fB\-\-name\fR
display the name of each file (default)
.TP
\fB\-N\fR, \fB\-\-no\-name\fR
suppress display of file names (implied by \fB\-\-no\-reset\fR)
.TP
\fB\-p\fR, \fB\-\-pod\fR
display inline POD documentation (default)
.TP
\fB\-P\fR, \fB\-\-no\-pod\fR
hide POD documentation (line numbers still increment)
.TP
\fB\-r\fR, \fB\-\-reset\fR
reset formatting and line numbers each file (default)
.TP
\fB\-R\fR, \fB\-\-no\-reset\fR
suppress resetting of formatting and line numbers
.TP
\fB\-s\fR, \fB\-\-shift\fR=\fIWIDTH\fR
set tab width (default is 4)
.TP
\fB\-t\fR, \fB\-\-tabs\fR
translate tabs into spaces (default)
.TP
\fB\-T\fR, \fB\-\-no\-tabs\fR
suppress translating of tabs into spaces
.TP
\fB\-\-help\fR
display this help and exit
.PP
Note that module names should be given as they would appear after a Perl `use' or
`require' statement. `Getopt::Long', for example.
.PP
Each string given using \fB\-c\fR is considered a different file, so line number and
formatting resets will apply.
|