The output from your program is:
ERROR! gap at '2000-3', '2000-4' found!
However, gaps exist at 2000-5 through 2000-11 and 2001-2 through 2002-11, yet were not reported. Did I misunderstand something about your code or how to use it?
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
In reply to (Ovid) Re(2): Finding gaps in date ranges
by Ovid
in thread Finding gaps in date ranges
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |