Siegfried Heintze wrote:
Given the current date, I want to compute the date of the Sunday before. There are a lot of date packages on CPAN. Can someone recommend one that would be well suited for this calculation?
$ perl -le'print scalar localtime; print scalar localtime time - 86400 * ( localtime )[ 6 ]'
Fri Jun 17 16:56:02 2005 Sun Jun 12 16:56:02 2005 John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>