in reply to Re^2: Comparing Dates and Reoccurance - Part II
in thread Comparing Dates and Reoccurance - Part II

Yes, you are missing something ;-)

You added a line to my code:

next unless /$channel/;
The problem is that line is in the wrong place, and probably does not do what you think it is doing.

You are checking the value of $channel before that value is set as intended by my original code. You have also declared $channel twice.

The other line you mangled now reads

my $time = dateconv($id);
Please try to understand the code, before you choose to modify it.

Now that I have made parson, I'm less motivated to spoon-feed beyond this point.

Update: Use mr_mischief's(++) excellent update to my code.

     "As you get older three things happen. The first is your memory goes, and I can't remember the other two... " - Sir Norman Wisdom