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.

--
Mike Cardwell
(https://secure.grepular.com/) (http://perlcv.com/)

Reply via email to