Help for this page

Select Code to Download


  1. 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.
    
  2. or download this
    my ($first, $second, $third, $fourth) = (/^([\w.-]+((,\s?)|(\s&\s)|(\s
    +and\s)|$))+/)
    
  3. or download this
    my @topics = split(/(?:,|\s*&|\s*and)\s*/)