Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

geoff (2013)

  reversethis-{gro ... om} {ta} {ffoeg}

see [] for personal information, links to presentations, GPG key, and so on.

Journal of geoff (2013)

Thursday September 05, 2002
10:22 AM

pod.t tweaking

[ #7544 ]
as andy pointed out, we've made some revisions. here's my latest (a derivitave of which I've included in my Apache::AuthDigest RFC)

use Test::More;

use File::Spec;
use File::Find qw(find);

use strict;

eval {
  require Test::Pod;

if ($@) {
  plan skip_all => "Test::Pod required for testing POD";
else {
  my @files;

    sub { push @files, $File::Find::name if m!\.p(m|od|l)$! },
    File::Spec->catfile(qw(blib lib))

  plan tests => scalar @files;

  foreach my $file (@files) {

I guess there's always more tweaking to be done, but this is the last post for this bit here I think...
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • I don't understand why there is an OO interface to File::Spec. I can see you using it above, but compared to using File::Spec::Functions, it's very verbose.

    Is it just that way for ease of implementation?