Re: Trying to spear a phalanx shield for pod

2003-10-29 Thread Adrian Howard
On Tuesday, Oct 28, 2003, at 23:48 Europe/London, Michael G Schwern wrote: On Tue, Oct 28, 2003 at 08:17:24PM +, Adrian Howard wrote: This may be a dim question but why scan blib and lib? [snip] my $blib = File::Spec->catfile(qw(blib lib)); [snip] That's not blib and lib, that's a cross p

Re: Trying to spear a phalanx shield for pod

2003-10-28 Thread Michael G Schwern
On Tue, Oct 28, 2003 at 08:17:24PM +, Adrian Howard wrote: > This may be a dim question but why scan blib and lib? > > [snip] > >my $blib = File::Spec->catfile(qw(blib lib)); > [snip] That's not blib and lib, that's a cross platform way of saying: my $blib = 'blib/lib'; > Wouldn't ever

Re: Trying to spear a phalanx shield for pod

2003-10-28 Thread Adrian Howard
On Friday, Oct 24, 2003, at 14:23 Europe/London, Andrew Savige wrote: I'm about to add a POD test program to my phalanx distro. Before I do that, just want to check I'm using the best model. I plan on using the one from WWW::Mechanize (shown below) -- unless someone can suggest a better model. [sn

Re: Trying to spear a phalanx shield for pod

2003-10-27 Thread Michael G Schwern
On Mon, Oct 27, 2003 at 12:25:45PM +1100, Andrew Savige wrote: > Your version does not work (unless I've had a brain malfunction): No, I had the brain malfunction. I forgot that and has an even lower precedence than = so the expression comes out as: (my $have_testpod = !$@) and $Test::Pod::V

Re: Trying to spear a phalanx shield for pod

2003-10-26 Thread Andrew Savige
Michael G Schwern wrote: > On Sun, Oct 26, 2003 at 04:45:48PM +1100, Andrew Savige wrote: >> There is a misprint in this line: >>my $have_testpod = !$@ and $Test::Pod::VERSION >= 0.95; >> It should read: >>my $have_testpod = !$@ && $Test::Pod::VERSION >= 0.95; > > I deliberately used and i

Re: Trying to spear a phalanx shield for pod

2003-10-26 Thread Michael G Schwern
On Sun, Oct 26, 2003 at 04:45:48PM +1100, Andrew Savige wrote: > Michael G Schwern wrote: > > Since skip_all will exit immediately you can fold that big "everything > > inside the else block" away. > > > > eval 'use Test::Pod'; > > my $have_testpod = !$@ and $Test::Pod::VERSION >= 0.95; > > plan s

Re: Trying to spear a phalanx shield for pod

2003-10-25 Thread Andrew Savige
Michael G Schwern wrote: > Since skip_all will exit immediately you can fold that big "everything > inside the else block" away. > > eval 'use Test::Pod'; > my $have_testpod = !$@ and $Test::Pod::VERSION >= 0.95; > plan skip_all => "Test::Pod v0.95 required for testing POD" > unless $have_tes

Re: Trying to spear a phalanx shield for pod

2003-10-24 Thread Michael G Schwern
On Fri, Oct 24, 2003 at 11:23:52PM +1000, Andrew Savige wrote: > Is it worth trying to agree on a de facto standard name for > such a beast: 99-pod.t/99_pod.t/99.pod.t/99pod.t? Probably not worth the inevitable argument. > use Test::More; > > use File::Spec; > use File::Find; > use strict; > >

Re: Trying to spear a phalanx shield for pod

2003-10-24 Thread Andy Lester
> Is it worth trying to agree on a de facto standard name for > such a beast: 99-pod.t/99_pod.t/99.pod.t/99pod.t? Personally, I'd just as soon not have it be one of the numeric ones. It doesn't matter what order it's run in. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:pet

Trying to spear a phalanx shield for pod

2003-10-24 Thread Andrew Savige
I'm about to add a POD test program to my phalanx distro. Before I do that, just want to check I'm using the best model. I plan on using the one from WWW::Mechanize (shown below) -- unless someone can suggest a better model. Is it worth trying to agree on a de facto standard name for such a beast: