I'm looking for some advice on better methods of validating a date from a
text string.

Currently, I am using Date::Manip like this: $RptDate = UnixDate($strDate,
"%m/%d/%y"). If this fails the value of $RptDate will be "". That's okay.
But, this also has the undesirable effect of dumping this message when empty
strings are evaluated: "ERROR:  Invalid arguments to ParseDateDelta."

Ron


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to