develooper Front page | perl.perl5.porters | Postings from December 2017

Re: [perl #113898] File::Spec::Unix->catfile("./a") neFile::Spec::Unix->catfile(".", "a")

From:
Zefram
Date:
December 14, 2017 07:31
Subject:
Re: [perl #113898] File::Spec::Unix->catfile("./a") neFile::Spec::Unix->catfile(".", "a")
Message ID:
20171214073111.GI25404@fysh.org
All uses of catfile that conform to the API produce consistent results.
While I'm sympathetic to the argument that ->catfile ought to be producing
a canonical result on general principle, the documentation doesn't
claim that it'll do that, so it's certainly not a bug that it doesn't.
Given the ambiguous nature of the documentation and the existence of
CPAN code that depends on the present form of output, I'm inclined to
not change it.  This ticket should be closed.

-zefram



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About