http://www.perlmonks.org?node_id=942079


in reply to scoping problem?

Not that it matters much for this example, but any reason for the matching versus just a comparison?

if ("agag" =~ m/($username)/){
vs
if ("agag" eq $username){
bliz