develooper Front page | perl.perl5.porters | Postings from November 1999

Re: [ID 19991115.010] 2 problems with File::Spec::Win32

Thread Previous | Thread Next
Barrie Slaymaker
November 15, 1999 14:51
Re: [ID 19991115.010] 2 problems with File::Spec::Win32
Message ID:
Mark Lofdahl wrote:
> As I've been working with File::Spec::Win32, I've noticed a couple problems:

Thanks for the bug report, I'll look in to them.  You show 5.005_03, but 
the bugs you're reporting are in code not in that version.  Is this
an ActiveState Build 521 issue, or are you (I hope) using development

> 1. rel2abs goes into an infinite loop if the $base parameter is omitted.

I'll look in to this.  rel2abs() should call cwd() in this case.

> 2. canonpath does not support the optional $reduce_ricochet parameter.

The canonpath() family support for $reduce_ricochet should not yet be
in any stable version of perl, and there was some discussion of having
two entry points instead, with mincanonpath() doing s{name/../?}{} 
reductions after calling canonpath().

Any votes from the p5p crew on this issue?

Also, should I patch abs2rel() and rel2abs() to have a calling convention
(parameter order) more similar to catdir() and catfile()? 


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About