Need Help On Perl

I have an assignment to solve but dont get any idea how to solve it.
The Topic is:

Write a perl Script to take any date value as input and findout and print how many days, months and year are remaining for that date.

Now, after having received an infraction for violating the "homework rule" and your other, original post moderated, this "new" approach is a first, correct step in the right direction. Had you carefully read the rules as suggested, you'd have known that in the "homework & coursework questions", filling in the necessary form to its entirety is mandatory.

Please try again, carefully and detailedly phrasing your request. You may want to search these forums with your keywords to get a head start...