in reply to Problem with regex passed to a hash
Thanks very much! It worked.
It looks like with single quotes I passing the regex as is, with no variable interpolation.
not exactly. your passing the variable's symbol.
Seems like that module does an eval on the string you pass.
So passing in singelquotes means that eval '/$username/' fails because $username is unknown in the module's namespace.
My fellow monks
Can't tell (I'm NSA/FBI/HS/...)
Others (explain your deviation)
Results (96 votes). Check out past polls.