TadW, I finally had a chance to try it with "use Time::local". It still failed but the errors were slightly changed. I saw this:
SITE START: now scooping site "sites/NYTimes.site".
Subroutine _daygm redefined at C:/Perl/lib/Time/local.pm line 53.
Subroutine _timegm redefined at C:/Perl/lib/Time/local.pm line 62.
Subroutine timegm redefined at C:/Perl/lib/Time/local.pm line 71.
Subroutine timegm_nocheck redefined at C:/Perl/lib/Time/local.pm line 113.
Subroutine timelocal redefined at C:/Perl/lib/Time/local.pm line 119.
Subroutine timelocal_nocheck redefined at C:/Perl/lib/Time/local.pm line 151.
SITE WARNING: "NYTimes.site" line 7: URLProcess failed: Undefined subroutine &Si
tescooper::URLProcessor::timelocal called at (eval 23) line 1.
The final failure message makes me think that there is a problem in the way that timelocal is called, but I don't know enough to diagnose. I'll have to try adding "use Time::local" in the main body of the program (Main.pm, or perhaps StoryURLProcessor.pm) and see if that makes any difference.
Do you have any other ways to do this calculation? It seemed easiest to convert to epoch time to avoid the confusion over number of days in a month, etc. But if there is some way to do it without using an add-on module, perhaps it won't fail...
Thanks.