in reply to Regex problem
You may try to use \Q metacharacter to disable other metacharacters which can occure in $manuID variable and affect to matching
if ( $manuCode =~ /\Q$manuID/ ) {
See perldoc perlre
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regex problem
by Anonymous Monk on Dec 15, 2008 at 20:13 UTC |