- or download this
Hints , or possibly elbow in ribs needed on parsing a Subject: header
+ to grab the complete string
Three (I hope) Subject variations :
"foo.com, bar.net, blah.org, trivial.com";
...
<SNIP CODE>
prints only the first domain, much to my annoyance.
- or download this
my ($first, $second, $third, $fourth) = (/^([\w.-]+((,\s?)|(\s&\s)|(\s
+and\s)|$))+/)
- or download this
my @topics = split(/(?:,|\s*&|\s*and)\s*/)