You're using Date::Manip::Date objects as inputs to a Date::Manip function. You want
my $flag = $date1->cmp($date2);
In reply to Re: Date::Manip can't get Date_Cmp to work
by ikegami
in thread Date::Manip can't get Date_Cmp to work
by 7stud
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |