In addition to what the Anonymous Monk said, you need to reverse the order of the substitutions, because if you do $line =~s/\\/\//g; before you look for E:\..., you won't find the backslash any longer...
Also, it should be close $OUTPUT (note the $) to get rid of the "used only once" warning.
In reply to Re: Not able to replace to directory paths
by Eliya
in thread Not able to replace to directory paths
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |