Subject: | Problem in HTMLBatch.pm with calls to File::Spec->catfile using $1 |
Date: | Mon, 31 Mar 2008 14:31:59 -0400 |
To: | bug-Pod-Simple [...] rt.cpan.org |
From: | "Andrew Hamlin" <aahamlin [...] gmail.com> |
Win32 perl 5.8.8 has problem with File::Spec::catfile method, I found
same problem this morning with the Template::Toolkit distro
Template::Provider.pm file.
For some reason the use of $1 in the catfile command causes the Win32
root dir (in my case D:) to be appended to the end of the $outdir
argument, resulting in the filename
d:\my\temp\path\d:
rather than d:\my\temp\path
The real problem may be in the File::Spec module, I will probably file
a bug there too.
HTMLBatch.pm
Line 611-612:
my $onefix = $1;
$outfile = $self->filespecsys->catfile( $outdir, $onefix );
Line 778-779:
my $onefix = $1;
$outfile = $self->filespecsys->catfile( $outdir, $onefix );