mhearse has asked for the wisdom of the Perl Monks concerning the following question:
my @domains = grep { /.+@(.+)/ } @emails;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using grep to extract domain from email
by hbm (Hermit) on Jan 15, 2009 at 20:54 UTC | |
by mhearse (Chaplain) on Jan 15, 2009 at 21:08 UTC |