"I think you're taking a risk by trying to implement your own leap-year calculation."
Why? It's a simple and well documented algorithm, you can write it in a line of Perl. What's the risk?
Personally I keep hoping that a rudimentary date time module (maybe DateTime.pm or a subset) will be included with Perl core, then using the "comes with" will be easier than cutting and pasting the line of perl around :)
--
Do not seek to follow in the footsteps of the wise. Seek what they sought. -Basho
In reply to Re: Re: Last day of the month. Any shorter
by greenFox
in thread Last day of the month. Any shorter
by Scarborough
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |