Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Script to validate date fails

by tobyink (Abbot)
on Feb 17, 2012 at 13:25 UTC ( #954528=note: print w/ replies, xml ) Need Help??


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"); }


Comment on Re^2: Script to validate date fails
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://954528]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2015-07-05 18:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls