Take a look at the module documentation, Delta_Days returns the difference in dates, if the $difference (in your example) is negative then date 2 occurred this number of days before date 1.
Update: Fixed typo.
In reply to Re^3: Date::Calc question
by marto
in thread Date::Calc question
by flynn7312
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |