good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
regex variablesby Miker (Scribe) |
on Sep 01, 2000 at 03:16 UTC ( [id://30659]=perlquestion: print w/replies, xml ) | Need Help?? |
Miker has asked for the wisdom of the Perl Monks concerning the following question:
is it possible to use a scalar variable in a regex?
As in:
Of course this doesn't work:) but is there something that makes it work? Thanks for any enlightenment, Mike
Back to
Seekers of Perl Wisdom
|
|