in reply to Re: Script to validate date fails
in thread Script to validate date fails
BTW, "validate valid date" has a nice ring to it :)
Good point. If we only need to validate valid dates, then the following should work:
print("Enter the date in dd-mm-yy format: "); while(<STDIN>) { print("You have entered valid data\n"); }
|
---|
In Section
Seekers of Perl Wisdom