From b581a1f73be55ae99bb4ce6f49883b0b717b5142 Mon Sep 17 00:00:00 2001 From: Ricardo Signes Date: Tue, 21 Feb 2012 22:19:56 -0500 Subject: unixify the --outfile arg to pod2html I think we probably need a more systematic regimen of of unixify calls, but for now, this gets tests passing on Win32. --- ext/Pod-Html/lib/Pod/Html.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ext/Pod-Html/lib/Pod/Html.pm b/ext/Pod-Html/lib/Pod/Html.pm index e663281828..d2c2cb2955 100644 --- a/ext/Pod-Html/lib/Pod/Html.pm +++ b/ext/Pod-Html/lib/Pod/Html.pm @@ -289,6 +289,12 @@ sub pod2html { $Htmlroot = "" if $Htmlroot eq "/"; $Htmldir =~ s#/\z##; + # I think this, and many other unixifications, belongs in + # parse_command_line or some other higher-level location to get them all + # unixified at once. Right now, I think we may be unixifying things too + # late and ad hoc. -- rjbs, 2012-02-21 + $Htmlfile = _unixify($Htmlfile); + if ( $Htmlroot eq '' && defined( $Htmldir ) && $Htmldir ne '' -- cgit v1.2.1