README.md (993B) - raw
1 # Leap 2 3 Welcome to Leap on Exercism's Perl 5 Track. 4 If you need help running the tests or submitting your code, check out `HELP.md`. 5 6 ## Instructions 7 8 Given a year, report if it is a leap year. 9 10 The tricky thing here is that a leap year in the Gregorian calendar occurs: 11 12 ```text 13 on every year that is evenly divisible by 4 14 except every year that is evenly divisible by 100 15 unless the year is also evenly divisible by 400 16 ``` 17 18 For example, 1997 is not a leap year, but 1996 is. 1900 is not a leap 19 year, but 2000 is. 20 21 ## Notes 22 23 Though our exercise adopts some very simple rules, there is more to 24 learn! 25 26 For a delightful, four minute explanation of the whole leap year 27 phenomenon, go watch [this youtube video][video]. 28 29 [video]: http://www.youtube.com/watch?v=xX96xng7sAE 30 31 ## Source 32 33 ### Created by 34 35 - @dnmfarrell 36 37 ### Contributed to by 38 39 - @bistik 40 - @darksuji 41 - @kotp 42 - @kytrinyx 43 - @m-dango 44 - @rfilipo 45 46 ### Based on 47 48 JavaRanch Cattle Drive, exercise 3 - http://www.javaranch.com/leap.jsp