develooper Front page | perl.perl5.porters | Postings from May 2008

Re: File::Path::mkpath() incompatiblity in perl-5.10

Thread Previous | Thread Next
From:
Gisle Aas
Date:
May 15, 2008 04:03
Subject:
Re: File::Path::mkpath() incompatiblity in perl-5.10
Message ID:
5829DFA7-1E2C-492C-890F-C716EA98C493@activestate.com
On May 14, 2008, at 23:53, David Landgren wrote:

>
> Hmm. Sorry about that. I'm working on a more robust approach that  
> will put an end to all this.

Could you at least indicate what this more robust approach would be?

I really want an mkpath() function in 5.10 that's 100% compatible  
with the interface documented in 5.8.  The only way I can see that  
happening is if you require a hash ref as the last argument to  
trigger the new interface, or that you simply move the new interface  
to a new function name and leave the old interface alone.  Using the  
name make_path() for the "modern" interface seems like an improvement  
in readability as well, and would be my preferred approach.

--Gisle


Thread Previous | Thread Next


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