PLS::Parser::Pod
This class finds and parses POD for an element. It formats the POD into markdown suitable for sending to the Language Server Protocol.
Store the perl executable path.
Get the perl executable path.
Set the arguments to be used when using the perl binary.
Get the arguments to be used when using the perl binary.
Tries to find the path to the perldoc utility.
Runs a perldoc command and returns the text formatted into markdown.
Finds the POD for a package and returns its POD, formatted into markdown.
This formats POD from an array of lines into markdown and fixes up improperly formatted text.
This formats POD from SCALAR ref to a string into markdown and fixes up improperly formatted text.
This fixes markdown so that documentation isn't incorrectly displayed as code.
This combines multiple markdown sections into a single string.
Starts a new perl process and retrieves its @INC, so we do not use an @INC tainted with things included in PLS.
To install PLS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PLS
CPAN shell
perl -MCPAN -e shell install PLS
For more information on module installation, please visit the detailed CPAN module installation guide.