Linux command
podchecker 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Check POD syntax
podchecker [file.pod]
Check multiple files
podchecker [*.pod]
Warnings only
podchecker -warnings [file.pod]
说明
podchecker validates the syntax of Perl POD (Plain Old Documentation) files, reporting errors such as unknown formatting codes, mismatched begin/end blocks, and malformed headings. It checks for both hard errors that would cause incorrect rendering and warnings about questionable constructs. Use -warnings to control the level of warning output. Part of the standard Perl distribution.
参数
- -warnings
- Show warnings. May be specified more than once to increase the warning level (up to -warnings -warnings).
- -nowarnings
- Suppress warnings (default is to show warnings).
- -help
- Print usage message and exit.
- -man
- Print the manual page and exit.
FAQ
What is the podchecker command used for?
podchecker validates the syntax of Perl POD (Plain Old Documentation) files, reporting errors such as unknown formatting codes, mismatched begin/end blocks, and malformed headings. It checks for both hard errors that would cause incorrect rendering and warnings about questionable constructs. Use -warnings to control the level of warning output. Part of the standard Perl distribution.
How do I run a basic podchecker example?
Run `podchecker [file.pod]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -warnings do in podchecker?
Show warnings. May be specified more than once to increase the warning level (up to -warnings -warnings).