in reply to Re: Switch/Format to not interpret metacharacters in regex?
in thread Switch/Format to not interpret metacharacters in regex?
However the first answer (using /\Q$a\E/) has immediately fixed the issue and knowing the data it will be a permanent fix for the issue... it also taught me something that I probably have come across in the past... 20+years working with perl and I still learn something new every so often... :)if (lc($b) eq lc($a)) { print "do something...\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Switch/Format to not interpret metacharacters in regex?
by kcott (Archbishop) on Dec 04, 2019 at 06:30 UTC |