in reply to POD: getting usage snippets from perldoc
Not really an answer, but along that same thought - I just submitted a feature request (rt://124867) to pmtools yesterday.
I was looking to do something like:
> perldoc --section SYNOPSIS Google::ProtocolBuffers > file.pl > perl file.pl
Essentially taking the helpful example from the SYNOPSIS section of a given module and putting it right into a file to run.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: POD: getting usage snippets from perldoc
by beech (Parson) on Mar 27, 2018 at 23:21 UTC |
In Section
Seekers of Perl Wisdom