Mail::Address maybe, probably. :P
use Mail::Address; my $raw = 'My Name <email@example.com>'; my @addresses = Mail::Address->parse($raw); print $_->address, $/ for @addresses;
Update: posted before I saw haukex's answer. I am not sure which of Mail::Address and Email::Address is a better choice or if they are equivalent. The former was already installed on my box. :P
In reply to Re: Getting email from fields
by Your Mother
in thread Getting email from fields
by bizactuator
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |