Hello Friends,

 I need help in the below written script.

$dirstruct =~ s/([\W])/-/;
  print $dirstruct;

here $dirstruct is c:\ankit\test

what I need as output is c--ankit-test but the output given by my script is
c-\ankit\test

Thanx

Ankit



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to