.\" 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.