Leap year: Difference between revisions

m
even more concise
m (even more concise)
Line 2,861:
Or more concisely:
 
<syntaxhighlight lang="perl">sub isleap { !(not $_[0] % 100) ? !($_[0] % 400)100 :? !($_[0]4 %: 4400) }</syntaxhighlight>
 
Alternatively, using functions/methods from CPAN modules:
559

edits