On Wed, 27 Jun 2001, Daryl Hoyt <[EMAIL PROTECTED]> wrote,

> Hi,
>     I am writing a script to be used on Windows and many different
>     flavors of Unix.  I am looking for a good way to convert Unix paths
>     to Windows.  Any Ideas?????

use File::Spec;

I know your question is about "converting".  But I offer you
portability so you don't need to convert anything and create
two (or more) scripts for two (or more) different systems.

Besides, as long as unix2windows *path* is concerned, Perl
in Windows treats / correctly, except perhaps the C: drive
notation.


__END__
-- 
s::a::n->http(www.trabas.com)

Reply via email to