|We don't bite newbies here... much|
matching a variable containing metacharacter treated as characterby docdurdee (Scribe)
|on Feb 21, 2013 at 16:10 UTC||Need Help??|
docdurdee has asked for the
wisdom of the Perl Monks concerning the following question:
Dearest Monks, I have a humble question: How do you match a variable containing a metacharacter that should be treated as a regular boring character? I'm processing some files (@foos) with dots in them. I want:
I ended up with something awful:
is there a better way?