Re: Testing URIs in POD

2008-01-17 Thread Ian Malpass
brian d foy wrote: In article <[EMAIL PROTECTED]>, Ian Malpass <[EMAIL PROTECTED]> wrote: I've started crafting Test::Pod::URI to extract URIs from POD and check them to make sure they work. However, my CPAN-fu has been weak today, so I thought I'd mail here and see if anyone knew of anything

Re: Testing URIs in POD

2007-06-06 Thread Ian Malpass
Nadim Khemir wrote: How do you plan to test things like: my $url_base = "http://search.cpan.org/"; ; for my $rest (qw(modlist/Graphics modlist/Database_Interfaces)) { do_anything_with($ur_base . $rest); } Well, if it's in a verbatim block, then "http://search.cpan.org/

Re: Testing URIs in POD

2007-06-06 Thread Nadim Khemir
How do you plan to test things like: my $url_base = "http://search.cpan.org/"; ; for my $rest (qw(modlist/Graphics modlist/Database_Interfaces)) { do_anything_with($ur_base . $rest); } Nadim. On Sunday 03 June 2007 15:10, Ian Malpass wrote: > ReneeB wrote: > > Let this t

Re: Testing URIs in POD

2007-06-03 Thread Ian Malpass
ReneeB wrote: Let this the POD from the (nonexistant) module Anything::URI: =head1 NAME Anything::URI =SYNOPSIS use Anything::URI; my $url = 'http://www.example.tld'; do_anything_with($url); ... In that case "http://www.example.tld"; shouldn't be extracted and tested as this is just a

Re: Testing URIs in POD

2007-06-02 Thread ReneeB
Let this the POD from the (nonexistant) module Anything::URI: =head1 NAME Anything::URI =SYNOPSIS use Anything::URI; my $url = 'http://www.example.tld'; do_anything_with($url); ... In that case "http://www.example.tld"; shouldn't be extracted and tested as this is just an example... Li

Re: Testing URIs in POD

2007-06-02 Thread Nadim Khemir
Can we get examples? first the POD then what you would like to extract. Best would be to write your examples as tests. Nadim. On Saturday 02 June 2007 12:11, ReneeB wrote: > Ian Malpass wrote: > > I've started crafting Test::Pod::URI to extract URIs from POD and > > check them to make sure they

Re: Testing URIs in POD

2007-06-02 Thread ReneeB
Ian Malpass wrote: > I've started crafting Test::Pod::URI to extract URIs from POD and > check them to make sure they work. However, my CPAN-fu has been weak > today, so I thought I'd mail here and see if anyone knew of anything > out there that already does such a thing. Anyone? > > Ian > > P.S. I

Re: Testing URIs in POD

2007-06-02 Thread brian d foy
In article <[EMAIL PROTECTED]>, Ian Malpass <[EMAIL PROTECTED]> wrote: > I've started crafting Test::Pod::URI to extract URIs from POD and check > them to make sure they work. However, my CPAN-fu has been weak today, so > I thought I'd mail here and see if anyone knew of anything out there > th