Hi guys,
Im a Perl beginner..
There is a way to use a scalar as a pattern in a Regex expression?
This is what I am trying to do..
$test = "m/Test/";
if ("Test" =~ $test ) {
print "yep";
}
Does not work!!..
Thank you in advance...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.