Mostly cos I'd never even considered looking at, never mind using a module to determine whether a year was a leapyear or not.
I only looked up Date::Leapyear in order to find a representative example of "the conventional way". I was only responding to the question about xor, and never gave a thought to the performance until Abigail-II (rightly) posted the benchmark.
From there, I couldn't not rise to the challenge could I :).
In reply to Re: Re3: Anyone use "xor" in conditionals?
by BrowserUk
in thread Anyone use "xor" in conditionals?
by bsb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |