On 8/8/05, Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> wrote: > On Aug 8, Kevin Old said: > > > I'm trying to come up with a way to automatically create a hash like > > the following: > > > > It's a hash with the start and end date for each week with the start > > date being Sunday and the end date being the following Saturday. > > You can use localtime() and the Time::Local module (which comes with Perl) > to get this information rather easily. <snip> > It's not a very difficult process at all, and a good exercise, I think. > > I hope this module helps you complete your task.
Hi Jeff, Yes, this is the kind of example I needed. I've never taken the time to fully investigate the Time::Local module, but can see from what you've provided exactly how powerful it is. I appreciate the exercises and will definitely complete them. Thanks for your help! Kevin -- Kevin Old [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>