Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: POD: getting usage snippets from perldoc

by VinsWorldcom (Prior)
on Mar 23, 2018 at 18:08 UTC ( #1211629=note: print w/replies, xml ) Need Help??

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 > > perl

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


    See podselect / Pod::Select

    Speaking of rt://pmtools, some really old bugs

    $ pmdesc CGI no description found $ pman CGI pod2text: unable to format D:/citrusperl/site/lib/ $ podpath CGI D:/citrusperl/site/lib/

    perldoc has no issues with it

    $ perldoc -l CGI D:\citrusperl\site\lib\CGI.pod $ perldoc -l -m CGI D:\citrusperl\site\lib\

    No quotemeta in        if ($path =~ m/$devel_loaded$/) {

    plxload still hardcodes /dev/null instead of using File::Spec->devnull

    Naturally all the test files pretend they're on unix (new bug)

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1211629]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2022-05-27 23:04 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (98 votes). Check out past polls.