Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: perl pod link to anoter document

by vlad_tepesch (Novice)
on Apr 27, 2012 at 12:04 UTC ( #967607=note: print w/replies, xml ) Need Help??


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

i tried this and it did not work. the results are empty file links (file:///) http://perldoc.perl.org/perlpod.html says
Or you can link to a web page:

    L<scheme:...>

    L<text|scheme:...>

    Links to an absolute URL. For example, L<http://www.perl.org/> or L<The Perl Home Page|http://www.perl.org/>.

Replies are listed 'Best First'.
Re^3: perl pod link to anoter document
by Anonymous Monk on Apr 27, 2012 at 12:30 UTC

    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)

      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://967607]
help
Chatterbox?
[shmem]: some experience with vim?
[Lady_Aleena]: None
[shmem]: I don't know geany, and don't know whether it has support for ctags.
[Lady_Aleena]: ctags?
[shmem]: ctags is a program which (recursively) extracts the symbols from source and stores them in a one-file database. This allows you to query the locations where these symbols (e.g. a subroutine name) are used anywhere in the source code tree...
[shmem]: ...from inside the editor.
[shmem]: apt-get install exuberant-ctags
[Lady_Aleena]: I think I heard vim has a big learning curve.
[shmem]: then in the root of your source tree run: ctags -R
[shmem]: you get a file named tags where all symbols and the places where they are used are listed

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2017-04-27 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (505 votes). Check out past polls.