http://qs1969.pair.com?node_id=551228

perlknight has asked for the wisdom of the Perl Monks concerning the following question:

All, I have the following line:
k4J37P420342 3256 10021545 May 18 23:07 MAILER-DAEMON (Deferred: Connection reset by somdomain.com.) <someone@somedomain.com>
I want to generate a list that looks like(only with line starting that has MAILER-DAEMON:
k4J37P420342 someone@somedomain.com etc...
Any idea? Thanks.