in reply to Regular Expression problem with $variable =~ m/C++/

You want to look at `perldoc perlre` and search for 'quotemeta', since '+' is obviously a special character in regexes.
  • Comment on Re: Regular Expression problem with $variable =~ m/C++/

Replies are listed 'Best First'.
Re^2: Regular Expression problem with $variable =~ m/C++/
by Anonymous Monk on Jun 12, 2007 at 12:19 UTC
    Thanks! I will go to read the relative documentations. Kind regards, M.