Agree, "use a module" is the default. But to keep it simple why not: ($year/4)!~/\.|[27]5$|50$/? :)
Careful with that hash Eugene.
In reply to Re^3: Perl calendar
by psini
in thread Perl calendar
by Delusional
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |