Files
cheatsheet-tldr/tldr/perldoc
2024-03-16 00:12:33 +00:00

26 lines
616 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# perldoc
> Look up Perl documentation in `.pod` format.
> More information: <https://perldoc.perl.org/perldoc>.
- View documentation for a builtin [f]unction, a [v]ariable or an [a]PI:
`perldoc -{{f|v|a}} {{name}}`
- Search in the question headings of Perl FAQ:
`perldoc -q {{regex}}`
- Send output directly to `stdout` (by default, it is send to a pager):
`perldoc -T {{page|module|program|URL}}`
- Specify the language code of the desired translation:
`perldoc -L {{language_code}} {{page|module|program|URL}}`