Subject: | Unmatched ) before HERE mark in regex m/(.*)\(.*) << HERE / at C:\Perl\site\lib/Rcs.pm line 353. |
line 353 is
if ($filename =~ m/(.*)$Dir_Sep(.*)/) {
the easy fix would be to quotemeta that variable
if ($filename =~ m/(.*)\Q$Dir_Sep\E(.*)/) {
the proper solution would be to use File::Spec