Help for this page

Select Code to Download


  1. or download this
    See whether you can produce a pattern to match a standard time format.
    + All
    the following should be acceptable: 12:00am, 5:00pm, 8:30AM. These sho
    +uld probably not be accepted: 3:00,2:60am, 99:00am, 3:0pm.
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
            $input = <STDIN>;
        }
    }
    
  3. or download this
    
    Last login: Thu Aug 18 11:28:44 on ttys000
    ...
    12:30PM 
    That is a valid time!
    youngs-mac-mini:Documents fenimore$
    
  4. or download this
            if($1 > 1 || $2 > 2 || $3 > 6)