- or download this
my $completed_courses = [...];
my $schedule = {...};
- or download this
my %completed;
for (@$completed_courses) {
$completed{$_->{title}} = undef;
}
- or download this
for (keys %$schedule) {
delete $schedule->{$_} if exists $completed{$schedule->{$_}{Course
+}};
}