in reply to Time::Format string that works in cli crashes cgi
I've seen something like this before. In my case, I was using the GD module to generate a little .gif image on a web page. It would work on the command line but not in the browser. Turns out it was a permission problem - not on the cgi script, but on the oject file the GD.pm module wraps. Once I did a 'chmod 755' on everything, it started working.