http://qs321.pair.com?node_id=1075338

ag4ve has asked for the wisdom of the Perl Monks concerning the following question:

What's the best way to change the time that time, gmtime, and localtime (and TimeDate which seems to use time()) returns? I was kind of hoping that someone had written a module to do this, but I can't find anything. I want to temporarily change the time to be a week into the future to test some time dependent code (data gets deleted after it is stale and I want this tested).