It is certainly possible. But the mandatory question is: why do it w/o using existing modules?
The only thing to remember is that february has 29 days if and only if
$year%4==0 && ($year%100!=0 || $year%400==0)I've seen too many broken implementation of leap years...
Update: expression corrected (Thanks, Moritz)
Careful with that hash Eugene.
In reply to Re: Perl calendar
by psini
in thread Perl calendar
by Delusional
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |