Hey again,<br><br>I think because there is no more info given to the split, you&#39;re out of luck. Maybe try subclassing Pod::Html and overriding parse_command_line() or scan_podpath() to do what you want. I know it should do the right thing being an old module. I guess most users either were on a Unix platform, or in a Windows box with their source on the same drive.<br>
<br>Alfie<br><br><div class="gmail_quote">On Mon, Aug 2, 2010 at 3:13 PM,  <span dir="ltr">&lt;<a href="mailto:benjamin.j.hayes@exxonmobil.com">benjamin.j.hayes@exxonmobil.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
<br>
Thanks Alfie,<br>
<br>
The problem is that : is used as a delimiter to allow multiple paths to be<br>
passed in on the -podpath option. So it would be necessary to change the UI<br>
to use a different delimiter on Windows. I was hoping there might be some<br>
way to specify an escape character to tell split to ignore particular :<br>
characters, and that wouldn&#39;t involve changing Html.pm. pod2html has been<br>
around for years and I&#39;m frankly amazed that it appears not to work on<br>
Windows, which gives a strong feeling that this is user error and I&#39;m<br>
missing something....<br>
<div class="im"><br>
Regards<br>
<br>
Ben Hayes<br>
Onsite Application Support Coordinator<br>
ExxonMobil Technical Computing Company / Upstream IT<br>
Upstream Technical Computing / UTC Applications / Application &amp; Data<br>
Integration<br>
Esso Australia Pty Ltd<br>
Room 5.36, 12 Riverside Quay, Southbank, VIC 3006, Australia<br>
Phone: +61-3-9270-3538 Fax: +61-3-9270-3600  E-mail:<br>
<a href="mailto:benjamin.j.hayes@exxonmobil.com">benjamin.j.hayes@exxonmobil.com</a><br>
<br>
<br>
<br>
</div>             Alfie John<br>
             &lt;alfiejohn@gma<br>
             <a href="http://il.com" target="_blank">il.com</a>&gt;                                                    To<br>
<div class="im">                                      <a href="mailto:benjamin.j.hayes@exxonmobil.com">benjamin.j.hayes@exxonmobil.com</a><br>
</div>                                                                        cc<br>
             02/08/2010               <a href="mailto:melbourne-pm@pm.org">melbourne-pm@pm.org</a><br>
             02:59 PM                                              Subject<br>
                                      Re: [Melbourne-pm] pod2html problem<br>
                                      on Windows<br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Hi Benjamin,<br>
<br>
In Pod::Html, it looks like the following line is the offender:    @Podpath<br>
= split(&quot;:&quot;, $opt_podpath) if defined $opt_podpath;<br>
<br>
If you want a quick fix, you can edit in place and get it working by<br>
looking at $^O to see what system you&#39;re on. Otherwise, submit a patch that<br>
does it more portably.<br>
<br>
Alfie<br>
<br>
On Mon, Aug 2, 2010 at 2:43 PM, &lt;<a href="mailto:benjamin.j.hayes@exxonmobil.com">benjamin.j.hayes@exxonmobil.com</a>&gt; wrote:<br>
<br>
  Hi Perl Mongers,<br>
<br>
  I&#39;m in the process of porting a build script from Solaris to Windows. The<br>
  script packages up a collection of Perl scripts for distribution on our<br>
  corporate network and one of the things it does it to build all the POD<br>
  into a nice, pretty set of html pages. The code all lives in my TFS<br>
  workspace on my c: drive and I&#39;m having trouble with pod2html accepting a<br>
  path which contains a : (like in c:\). I discovered this is because<br>
  pod2html (in Pod::Html) tries to split the podpath on the : character, so<br>
  it crashes because it attempts to open a file called C. Of course this<br>
  all<br>
  worked perfectly on Solaris where file paths are sans : characters. I<br>
  tried<br>
  replacing C:\ with \\$ENV{COMPUTERNAME}\c$, but it appears that only<br>
  works<br>
  if you have admin rights on the machine, which in this instance I don&#39;t.<br>
  It<br>
  seems inconceivable to me that pod2html doesn&#39;t work on Windows and I<br>
  feel<br>
  there must be a simple solution, but I have not been able to find it. Can<br>
  anyone help?<br>
<br>
  Regards<br>
<br>
  Ben Hayes<br>
  Onsite Application Support Coordinator<br>
  ExxonMobil Technical Computing Company / Upstream IT<br>
  Upstream Technical Computing / UTC Applications / Application &amp; Data<br>
  Integration<br>
  Esso Australia Pty Ltd<br>
  Room 5.36, 12 Riverside Quay, Southbank, VIC 3006, Australia<br>
  Phone: +61-3-9270-3538 Fax: +61-3-9270-3600  E-mail:<br>
  <a href="mailto:benjamin.j.hayes@exxonmobil.com">benjamin.j.hayes@exxonmobil.com</a><br>
<br>
  _______________________________________________<br>
  Melbourne-pm mailing list<br>
  <a href="mailto:Melbourne-pm@pm.org">Melbourne-pm@pm.org</a><br>
  <a href="http://mail.pm.org/mailman/listinfo/melbourne-pm" target="_blank">http://mail.pm.org/mailman/listinfo/melbourne-pm</a><br>
<br>
<br>
</div></div></blockquote></div><br>