in reply to Re: CGI script choking on localtime function call
in thread CGI script choking on localtime function call

Ah, yes. I'm a boob. The problem was with how the time values were used later on in the code. I was using the data returned by the localtime function to open a file that had a timestamp for its name. By subtracting 86400 seconds, I was trying to open a file that didn't exist. Thanks for snapping me out of my idiocy.

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon";
$nysus = $PM . $MCF;
Click here if you love Perl Monks

  • Comment on Re^2: CGI script choking on localtime function call