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

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

Thread Previous | Thread Next
Gisle Aas
May 15, 2008 04:03
Re: File::Path::mkpath() incompatiblity in perl-5.10
Message ID:
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.


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