Pod::ParseLink

Pod::ParseLink

NAME

Pod::ParseLink - Parse an L<> formatting code in POD text

SYNOPSIS

use Pod::ParseLink;
my ($text, $inferred, $name, $section, $type) = parselink ($link);

DESCRIPTION

This module only provides a single function, parselink(), which takes the text of an L<> formatting code and parses it. It returns the anchor text for the link (if any was given), the anchor text possibly inferred from the name and section, the name or URL, the section if any, and the type of link. The type will be one of url登录查看完整内容