This is where you should follow the flow of the subroutine with those print statements. Follow along with the math and see where your answer differs from what it should be. Look particularly closely at points where something new changes (such as the first/last day of a month)
In reply to Re^5: perl basic count days between two dates
by SuicideJunkie
in thread perl basic count days between two dates
by scripter87
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |