in reply to Re^2: Perl calendar
in thread Perl calendar

Agree, "use a module" is the default. But to keep it simple why not: ($year/4)!~/\.|[27]5$|50$/? :)

Careful with that hash Eugene.