On Sun, Feb 05, 2012 at 06:06:55PM +0100, Vincent Belaïche wrote:
> >>    
> >
> >The easiest way to fix this is to convert the argument to forward
> >slashes right from the start (on Windows).  Then the rest of the
> >script doesn't need to know about backslashes.
> >
> >
> >  
> 
> Yes, this one simple way to do it. Another way is to use only library 
> functions to manipulate filenames. There exists such kind of functions 
> in Java or in Elisp, there must be the counterparts in Perl (I am not 
> familiar with Perl, but I cannot imagine that this does not exist). 
> Personally I would prefer to use library functions, that sounds more 
> portable/futureproof.

There are such library functions, in File::Spec.

-- 
Pat

Reply via email to