Shouldn't $file now be "somefile.txt" ? Thanks!$ScriptPath = "\\\\SERVER\\C\$\\APP\\BIN"; $file = "$ScriptPath\\somefile.txt"; $file =~ s/$ScriptPath\\//;
In reply to s/// and variable interpolation by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |