On Tue, Apr 28, 2009 at 10:31:42AM +0100, Mike Cardwell wrote: > Henrik K wrote: > >>> This might sound a big picky, but using backticks to call the date >>> command in a perl script is horrible. Try using the standard gmtime >>> function. Eg: >>> >>> $date = gmtime().' (UTC)'; >>> >>> Rather than: >>> >>> $date = `date -u`; chomp($date); >> >> /me too busy to man perlfunc >> >> Let this thread be an inspiration for all coders out there. >> >> Now back to the real world.. > > Sorry, I assumed that if you were releasing source code to the public, > you'd want to make sure it was cross platform compatible. I wont point > out the various other limitations with your script then.
Are you actually serious or is this some geek humor that I don't get? If you are serious, would you be willing to audit SpamAssassin code with such enthusiasm? It might actually _matter_.