use warnings;
use strict;
-use File::Find;
use Memoize;
use File::Spec;
use HTML::Template;
my $content=shift;
if (! $INC{"/usr/bin/markdown"}) {
+ no warnings 'once';
$blosxom::version="is a proper perl module too much to ask?";
+ use warnings 'all';
do "/usr/bin/markdown";
}
# Find existing pages.
my %exists;
my @files;
+
+ eval q{use File::Find};
find({
no_chdir => 1,
wanted => sub {
if (/$config{wiki_file_prune_regexp}/) {
+ no warnings 'once';
$File::Find::prune=1;
+ use warnings "all";
}
elsif (! -d $_) {
my ($f)=/$config{wiki_file_regexp}/; # untaint