[svn:Module-Build] r12873 - in Module-Build/trunk: . lib/Module/Build
| Newsgroups | perl.module.build.checkins |
|---|---|
| Message-ID | <[email protected]> |
Author: dagolden
Date: Sun Jun 21 06:30:25 2009
New Revision: 12873
Modified:
Module-Build/trunk/Changes
Module-Build/trunk/lib/Module/Build/Base.pm
Log:
HTML generation failure no longer fatal (RT#36660)
Modified: Module-Build/trunk/Changes
==============================================================================
--- Module-Build/trunk/Changes (original)
+++ Module-Build/trunk/Changes Sun Jun 21 06:30:25 2009
@@ -10,6 +10,7 @@
- Module::Build::Compat and recursive test files (RT#39171)
- Fixed bug linking non-standard XS names on Windows (RT#38065)
- Run PL files that don't generate any file (RT#39365)
+ - HTML generation failure no longer fatal (RT#36660)
Other
- On MSWin32, bumped File::Spec prereq to 3.30 for a variety of fixes
Modified: Module-Build/trunk/lib/Module/Build/Base.pm
==============================================================================
--- Module-Build/trunk/lib/Module/Build/Base.pm (original)
+++ Module-Build/trunk/lib/Module/Build/Base.pm Sun Jun 21 06:30:25 2009
@@ -2870,7 +2870,8 @@
$self->log_info("HTMLifying $infile -> $outfile\n");
$self->log_verbose("pod2html @opts\n");
- Pod::Html::pod2html(@opts); # or warn "pod2html @opts failed: $!";
+ eval { Pod::Html::pod2html(@opts); 1 }
+ or $self->log_warn("pod2html @opts failed: $@");
}
}