peppiv has asked for the wisdom of the Perl Monks concerning the following question:
I should change my username to "Lots to Learn". Anyway, I've got a pipe delimited text file and it looks like this:
What I need to do is extract the email addresses and write to another file to do a mail merge. I haven't been successful splitting and listing the second element. (first is timestamp - obviously).
Help!
Also, is there an easy way to mail to multiple recipients with hand-rolled code as opposed to a pm?
Thanks for the help oh brotherly monks.
peppiv
1005238613|thisuser@aol.com|John Q. Public|1678 Evergreen Terrance.|NE +W ORLEANS | 1005239353|someuser@yahoo.com|James Q. Smith|1313 Monster Rd.|brook Pa +rk|OH| 1005241949|otheruser@hotmail.com|Jane Q. Anon|123 Main St.|Naperville| +IL|
What I need to do is extract the email addresses and write to another file to do a mail merge. I haven't been successful splitting and listing the second element. (first is timestamp - obviously).
Help!
Also, is there an easy way to mail to multiple recipients with hand-rolled code as opposed to a pm?
Thanks for the help oh brotherly monks.
peppiv
Edit Masem - CODE tags add, and personal data changed to protect the innocent
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Extract field from pipe delimited flat file
by MZSanford (Curate) on Nov 16, 2001 at 22:04 UTC | |
Re: Extract field from pipe delimited flat file
by {NULE} (Hermit) on Nov 16, 2001 at 22:35 UTC | |
by grinder (Bishop) on Nov 16, 2001 at 23:09 UTC | |
by peppiv (Curate) on Nov 16, 2001 at 23:17 UTC | |
Re: Extract field from pipe delimited flat file
by gryphon (Abbot) on Nov 16, 2001 at 22:46 UTC | |
Re: Extract field from pipe delimited flat file
by Jazz (Curate) on Nov 17, 2001 at 02:11 UTC | |
Re: Extract field from pipe delimited flat file
by Purdy (Hermit) on Nov 16, 2001 at 22:25 UTC |
Back to
Seekers of Perl Wisdom