timelocal doesn't like your inputs. It's even nice enough to tell you what they are.
Apparently, @dmy contains two elements, both zero, when used to populate the args of timelocal.
That's surely due to my $t = @match_list; setting $t to the number of elements in @match_list.
This is very straightforward debugging. Your variable doesn't contain what it should, so you backtrack until you find where the program's state differs from your expectations.
As an aside, I wonder why you chose to ignore the warning lc $dmy[1] must have issued.
Update: The above debugging would have taken less time than posting the question in at least three different places. Over the span of 9 days, no less! And you already got an answer 8 days ago! *boggled*
In reply to Re: Exception error in perl code
by ikegami
in thread Exception Error in perl code
by RajNaidu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |