Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: How do you use a variable value within a regular expression pattern properly?by 1nickt (Canon) |
on Sep 11, 2017 at 11:30 UTC ( [id://1199080]=note: print w/replies, xml ) | Need Help?? |
Use braces, like: "${myvar}REC".
The way forward always starts with a minimal test.
In Section
Seekers of Perl Wisdom
|
|