rra / podlators

Format POD source into various output formats
https://www.eyrie.org/~eagle/software/podlators/
Other
6 stars 11 forks source link

Add a parse_from_string function #10

Closed macrotex closed 5 years ago

macrotex commented 5 years ago

I have reason to use Pod::Text with strings rather than files or filehandles. Please add a "parse_from_string" function that would work something like

my $pod_input     = "=pod\n\n=head1 Head1\n\n...";
my $rendered_pod = parse_from_string($pod_input);
macrotex commented 5 years ago

Mistakenly created second duplicate issue.