Two hints: You have two problems with $_ =~ s/\..//../nbssbase/$vob/g; First, you're only escaping one of the periods. Second, since the pattern you're matching uses the same characters that you're using to delimit the substitution regex, you need to either choose different delimiters, or escape those characters in the pattern.
In reply to Re: regex on a path inside a file
by dws
in thread regex on a path inside a file
by amoura
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |