I have a date which comes in the format of mm/dd/yy.
Now, I have my regular expression to check for this in this
$result = $start_date =~ /(\d\d)\/(\d\d)\/(\d\d)/;
So, when I enter a date in the format of 08/01/00,
the result is success, or a non-zero return coded.
Now, if I enter a date in the format of 88888/01/00, the $result is STILL success, or a non-zero value.
Is there something which will ensure each field is only two(2) digits in length? Otherwise I want to print an exception message any have them retry again.