i read into perl variables from a db 2 date values
1) system date -> 28/02/2005
2) deadline date -> 25/05/2005
what i need is to compare these 2 dates and output the number of days left to the deadline date...
but, but if the deadline date is after the system date,
output "document overdue"
else if the deadline date is same as system date,
output "0 days remaining"
else if deadline date is greater than system date,
output the number of days remaining...
i require all this to be acheived in perl...