in reply to Do my homework for me!
When someone presents a "do my homework for me"
question, particularly if they show no evidence of any
effort on their part, please resist providing a direct
answer. Instead, provide pointers, hints, and suggestions,
and let them work to solve the problem themselves. Teach,
I suggest RTFM replies to no-effort homework questions. (Better if you're a bit more polite, though.) Just point the student to the appropriate documentation and let them decide to either read it or whinge about how hard computers are. If you want to take the time to point out common mistakes, useful idioms, potential pitfalls, and so on, all the better, but keep in mind that they have profs and teaching assistants who are paid to provide that level of instruction. For example:
Q: How do I add two dates?
A (short): Use Date::Calc.
A (long): Use Date::Calc. Watch out for time zone and DST issues.
We don't necessarily need to consider every suspicious question for deletion... some of them spark interesting discussion.