Incomprehensible. Perhaps start here...
while (<DATA>) { my @emails = $_ =~ m/([^\s<>]+\@[^\s<>]+)/g; $emails{$_}++ for @emails; } use Data::Dumper; print Dumper \%emails; __DATA__ go@away.com<new@foo.com>spam@me.net foo@baz.bar bar@ppp.ipsec wid@get.com jfreeman@[nospam]tassie.net.au
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: finding emails
by tachyon
in thread finding emails
by bdawg613
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |