develooper Front page | perl.perl5.porters | Postings from November 2003

Re: L<> links in pod (was Re: 5.8.2 perldelta)

From:
Gisle Aas
Date:
November 1, 2003 09:28
Subject:
Re: L<> links in pod (was Re: 5.8.2 perldelta)
Message ID:
lrekws9f02.fsf@caliper.activestate.com
Petras Kudaras <moxliukas@delfi.lt> writes:

> Quickly grepping over the perl-current source tells that L<> is far
> more commonly used for linking web addresses than F<>:
> 
> moxliukas@hacks:/mnt/perl/current$ grep -r 'L<http' . | wc -l
>     151
> moxliukas@hacks:/mnt/perl/current$ grep -r 'F<http' . | wc -l
>      15

You forgot to grep for how often you find URLs without any markers at
all.  Why is there a need for markup when POD parsers should be able
to guess what is URLs quite easily.  Isn't POD supposed to be plain?

[gisle@eik perl-current]$ grep -r 'http:' . | wc -l
   1326
[gisle@eik perl-current]$ find . -name \*.pod | xargs grep http: | wc
    579    2175   43471

Regards,
Gisle



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About