Related/Possible duplicate: How can I validate dates in Perl?
I have created a script where start and end date needs to be given by user while executing the script. The date format entered by user should be in YYYY-MM-DD
format only.
start_date = $ARGV[0];
end_date = $ARGV[1];
please advise.