in reply to Problem with ampersand and regex
Tip #1 from the Basic debugging checklist: use warnings (Possible unintended interpolation of @123). Use single quotes to avoid interpolation:
my $line = 'mail: email@example.com';
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (392 votes). Check out past polls.