On 10/09/2002 15:37:44 perl-win32-users-admin wrote:

>>$dir=~s!\!/!g; #should work better, no ambiguity with slashes
>
>
>oops, do that and you'll confuse it. swap that for
>
>$dir=~s'\'/'g; #not interpolated with single quotes
>
>~or~
>
>$die=~s!\\!/!g;
>

There's also:       $die =~ tr!\\!/!;

--
Csaba Ráduly, Software Engineer                           Sophos Anti-Virus
email: [EMAIL PROTECTED]                        http://www.sophos.com
US Support: +1 888 SOPHOS 9                     UK Support: +44 1235 559933

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to