Actually I'm adding a field called 'roomcode'
I was changing the code: (line 21)
foreach $as (@$all)
{
next if $as->{roomcode} != $roomcode; #don't check other rooms
my (@astart, @aend); #use new arrays for speed and memory
I had assumed that this change would only check for
overlap if the rooms were identical. I guess there's
more to it.
Jon