On 05/16/00, "Roee Rubin <[EMAIL PROTECTED]>" wrote:
>       $val=~s|\\|\/|gi;
>       if (-e "$val") {

There's no need for quotes around "$val", and
no need to escape the forward slash. I don't
think there's any need to substitute backslashes
for forward slashes anyway. And really no need to
do case insensitive matching when theres no alpha
characters.

Good Luck,
Douglas Wilson

---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to