EnglishFrenchSpanish

OnWorks favicon

viewperl - Online in the Cloud

Run viewperl in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command viewperl that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


viewperl - quickly view syntax highlighted Perl code

SYNOPSIS


viewperl [OPTION]... FILE...

DESCRIPTION


View a Perl source code file, syntax highlighted.

-c, --code=CODE
view CODE, syntax highlighted

-l, --lines
display line numbers

-L, --no-lines
supress display of line numbers (default)

-m, --module=FILE
consider FILE the name of a module, not a file name

-n, --name
display the name of each file (default)

-N, --no-name
supress display of file names (implied by --no-reset)

-p, --pod
display inline POD documentation (default)

-P, --no-pod
hide POD documentation (line numbers still increment)

-r, --reset
reset formatting and line numbers each file (default)

-R, --no-reset
supress resetting of formatting and line numbers

-s, --shift=WIDTH
set tab width (default is 4)

-t, --tabs
translate tabs into spaces (default)

-T, --no-tabs
supress translating of tabs into spaces

--help display this help and exit

Note that module names should be given as they would appear after a Perl `use' or
`require' statement. `Getopt::Long', for example.

Each string given using -c is considered a different file, so line number and formatting
resets will apply.

View a Perl source code file, syntax highlighted.

-c, --code=CODE
view CODE, syntax highlighted

-l, --lines
display line numbers

-L, --no-lines
supress display of line numbers (default)

-m, --module=FILE
consider FILE the name of a module, not a file name

-n, --name
display the name of each file (default)

-N, --no-name
supress display of file names (implied by --no-reset)

-p, --pod
display inline POD documentation (default)

-P, --no-pod
hide POD documentation (line numbers still increment)

-r, --reset
reset formatting and line numbers each file (default)

-R, --no-reset
supress resetting of formatting and line numbers

-s, --shift=WIDTH
set tab width (default is 4)

-t, --tabs
translate tabs into spaces (default)

-T, --no-tabs
supress translating of tabs into spaces

--help display this help and exit

Note that module names should be given as they would appear after a Perl `use' or
`require' statement. `Getopt::Long', for example.

Each string given using -c is considered a different file, so line number and formatting
resets will apply.

Use viewperl online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad