The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

PLS::Parser::Pod

DESCRIPTION

This class finds and parses POD for an element. It formats the POD into markdown suitable for sending to the Language Server Protocol.

set_perl_exe

Store the perl executable path.

get_perl_exe

Get the perl executable path.

set_perl_args

Set the arguments to be used when using the perl binary.

get_perl_args

Get the arguments to be used when using the perl binary.

get_perldoc_location

Tries to find the path to the perldoc utility.

run_perldoc_command

Runs a perldoc command and returns the text formatted into markdown.

get_markdown_for_package

Finds the POD for a package and returns its POD, formatted into markdown.

get_markdown_from_lines

This formats POD from an array of lines into markdown and fixes up improperly formatted text.

get_markdown_from_text

This formats POD from SCALAR ref to a string into markdown and fixes up improperly formatted text.

clean_markdown

This fixes markdown so that documentation isn't incorrectly displayed as code.

combine_markdown

This combines multiple markdown sections into a single string.

get_clean_inc

Starts a new perl process and retrieves its @INC, so we do not use an @INC tainted with things included in PLS.