"David F. Skoll" <[email protected]> wrote:

Joseph Brennan wrote:

There is of course "more than one way to do it", but here's one:
my ($localpart,$domainpart) = split('@',$Sender);

/me waits for D. Stussy to point out the 100+ ways that can go wrong...


I learned on Usenet in 1989 that the way to get discussion going is
to post something that other people can correct!  The more quickly
written the better.

Brian-- I assumed exactly one @ in the $Sender, and David's comments
will cover cases of two or more, and none.  Because crazy stuff happens.

Joseph Brennan
Columbia University Information Technology

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to