in reply to Re: Multiple Test Regex Does not work the way I expect
in thread Multiple Test Regex Does not work the way I expect

Thanks a lot dude, I added parantheses like they said in the doc you linked at.

if ($p1 =~ /$$hash{ "p1" }()/)

Thanks also for the quotemeta, I'll add it too.