So, delivering mail with Perl may be really crazy, but you can do really cool things with it. For example, whenever I register for a site I give them a reply address that is unique to them at 2shortplanks.com so when they start spamming me I can filter this off with a rule. Of course, you can do this with any mail filtering, but I’m feeling lazy (like all good Perl programmers); I have an address I can forward a mail to which will then add the address that the forwarded mail was sent to to my kill list. And an address that will cause the address sent from to be killed. And an address that will cause all mail from or to people to forever more be moved into another mail folder. So now I don’t ever edit my mail filter again. Yey. But wait…it gets better.
I have a rule set up that allows me to use the ‘one-day-only’ mail at 2shortplanks. These are of the format thingDDMMYY@twoshortplanks.com, and it only lets though mail for that one day. This is great for site registration and stuff where you just want a username and password, but you don’t want them spamming you for the rest of eternity. Isn’t Perl cool.
Oh, and as I was mucking about in Perl I implemented a quick hack to create a XML RSS document containing the name of the last person to post to the London Perl Mongers mailing list (try doing that in procmail) so that dipsy (the #London.pm infobot) can tell you this information.
Gah. All coded out now. See the filter for yourself at http://2shortplanks.com/temp/mailfilter.txt
What have us Perl lot been up to that doesn't involve coding? Well, we went and saw the camel at London Zoo yesterday. At least I assume we saw the camel that the London Perl Mongers sponsored…there were three and my ability to identify camels from one another is similar to my ability to program Python! In fact, we saw lots of other Perl and Open Source creatures. The llamas, the monkeys, owls, and the obligatory penguins. Oh, then we went to the pub.