Perlpod - How to add URL links with L<>

Discussion in 'Perl Misc' started by Jari Aalto, Oct 8, 2009.

  1. Jari Aalto

    Jari Aalto Guest

    [Please keep CC] According to http://perldoc.perl.org/perlpod.html the
    L<> is used like:

    =pod

    L<<a href="http://www.perl.org/">http://www.perl.org/</a>>

    =cut

    But this appears to signal errors:

    $ podchecker test.pod

    ** WARNING: node '<a href="http://www.perl.org/"' contains non-escaped | or / at line ...
    *** ERROR: unresolved internal link '<a href="http://www.perl.org/"' at line ...

    How it is used?

    Jari

    --
    Use Licenses! http://www.linuxjournal.com/article.php?sid=6225
    Which Licence? http://www.linuxjournal.com/article.php?sid=4825
    http://www.opensource.org/docs/definition.php
    OSI Licences http://www.opensource.org/licenses/
     
    Jari Aalto, Oct 8, 2009
    #1
    1. Advertising

  2. Jari Aalto

    Jari Aalto Guest

    Ben Morrow <> writes:
    >> According to http://perldoc.perl.org/perlpod.html
    >>
    >> L<<a href="http://www.perl.org/">http://www.perl.org/</a>>

    >
    > ...no. L<> for arbitrary URLs is used like
    >
    > L<http://www.perl.org/>
    >
    > and there is no way to alter the text displayed (you always get the full
    > URL).
    >
    > There appears to be a bug in the renderer used for perldoc.perl.org
    > which is causing the example to come out incorrectly. If you check the
    > pod source at
    > http://perl5.git.perl.org/perl.git/blob/HEAD:/pod/perlpod.pod or the
    > correctly-rendered version at
    > http://search.cpan.org/~dapm/perl-5.10.1/pod/perlpod.pod you will
    > see that the <a> stuff isn't supposed to be there. You could report a
    > bug to whoever maintins perldoc.perl.org.


    Reported.
    http://github.com/jonallen/perldoc.perl.org/issues#issue/3

    Thanks,
    Jari

    --
    Use Licenses! http://www.linuxjournal.com/article.php?sid=6225
    Which Licence? http://www.linuxjournal.com/article.php?sid=4825
    http://www.opensource.org/docs/definition.php
    OSI Licences http://www.opensource.org/licenses/
     
    Jari Aalto, Oct 8, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jon paugh
    Replies:
    1
    Views:
    947
  2. www.westerncartooncards.ca

    Exchange Links < Western Cartoon Cards > Exchange Links

    www.westerncartooncards.ca, Jul 12, 2004, in forum: HTML
    Replies:
    2
    Views:
    1,289
    Toby Inkster
    Jul 12, 2004
  3. Just D.
    Replies:
    0
    Views:
    553
    Just D.
    Aug 11, 2004
  4. J Krugman
    Replies:
    4
    Views:
    243
    Steven Kuo
    Mar 9, 2005
  5. Erwin Waterlander
    Replies:
    4
    Views:
    255
    Erwin Waterlander
    Oct 8, 2009
Loading...

Share This Page