|
|
| Do you know where your variables are? | |
| PerlMonks |
matching a variable containing metacharacter treated as characterby docdurdee (Sexton) |
| on Feb 21, 2013 at 16:10 UTC ( #1019974=perlquestion: print w/ replies, xml ) | 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?
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||