Re: time based test

2014-02-20 Thread shawn wilson
Thanks Also, for completeness, in that doc is also stated Time::Warp and someone also pointed me to Time::Mock and Test::TimeMock. The later seems to have the best interface for my needs, so I'll go with that. On Sat, Feb 15, 2014 at 6:05 AM, David Precious wrote: > On Fri, 14 Feb 2014 16:21:52

Re: time based test

2014-02-15 Thread David Precious
On Fri, 14 Feb 2014 16:21:52 -0500 shawn wilson wrote: > What I want is to be able to make a program /think/ that it's like a > week in the future without messing with the system time at all. So > something that overrides gmtime and localtime and the like with some > starting point would be aweso

Re: time based test

2014-02-14 Thread shawn wilson
On Fri, Feb 14, 2014 at 5:21 PM, Andy Bach wrote: > > On Fri, Feb 14, 2014 at 3:21 PM, shawn wilson wrote: >> >> What I want is to be able to make a program /think/ that it's like a >> week in the future > > > Not sure ... not understanding this question - which part of the program do > you want

time based test

2014-02-14 Thread shawn wilson
What I want is to be able to make a program /think/ that it's like a week in the future without messing with the system time at all. So something that overrides gmtime and localtime and the like with some starting point would be awesome. Anything like that? -- To unsubscribe, e-mail: beginners-un