in reply to Perl Documentation, again. :(
The 'perldoc' binary has to know where to look for your script (somewhat like the path to find modules). The filters (like pod2text and pod2html) can work on it by filename directly:
$ pod2text file.pl | less
Perldoc can work on installed modules:
perldoc HTML::Template
Or on specific perl documentation:
perldoc perlref
Or, using the -f switch, on a builtin function:
perldoc -f print
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
|
|---|