Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Formatting STDIN for date format

by kcott (Abbot)
on Sep 19, 2013 at 07:19 UTC ( #1054788=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl -l
    
    ...
            print 'Not DD-MM-YYYY format';
        }
    }
    
  2. or download this
    $ pm_parse_stdin.pl
    19-9-2013
    ...
    ... day='19' month='09' year='2013' ...
    19-09-20133
    Not DD-MM-YYYY format
    
  3. or download this
    #!/usr/bin/env perl -l
    
    ...
            print 'Not DD-MM-YYYY format';
        }
    }
    
  4. or download this
    $ pm_parse_stdin_2.pl
    19-9-2013
    ...
    ... day='29' month='02' year='2012' ...
    19-09-20133
    Not DD-MM-YYYY format
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2014-10-21 10:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (100 votes), past polls