Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: perl pod link to anoter document

by Anonymous Monk
on Apr 27, 2012 at 12:30 UTC ( #967610=note: print w/ replies, xml ) Need Help??


in reply to Re^2: perl pod link to anoter document
in thread perl pod link to anoter document

i tried this and it did not work.

You tried what?

ro.pod

=head1 LINKS TO SHAM BO C<<< file:sham.html >>> L<file:sham.html> C<<< file:./sham.html >>> L<file:./sham.html> BOGUS LINKS, ABSOLUTE NOT RELATIVE ACCORDING TO FIREFOX C<<< file://sham.html >>> L<file://sham.html> C<<< file://./sham.html >>> L<file://./sham.html> =cut

This fails (I expected this, many bugs in pod2html)  pod2html ro.pod > ro.html

This works  perl -MPod::Simple::HTML -e Pod::Simple::HTML::go ro.pod  ro.html

This works pom2 html ro.pod > ro.html

This works :) plackup -l localhost:80 -e require(Pod::POM::Web::PSGI)


Comment on Re^3: perl pod link to anoter document
Select or Download Code
Replies are listed 'Best First'.
Re^4: perl pod link to anoter document
by vlad_tepesch (Novice) on Apr 27, 2012 at 13:48 UTC
    This works perl -MPod::Simple::HTML -e Pod::Simple::HTML::go ro.pod ro.html
    thanks, this seems to fit best for me. it is part of core modules and gives correct output similar to pod2html.

    Thanks again

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2015-08-01 01:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (285 votes), past polls