Help for this page

Select Code to Download


  1. or download this
        (my $date) = grep m%\w+, \w+ \d\d, \d\d\d\d%, @file;
        $date =~ m%\w+, (\w+ \d\d, \d\d\d\d)%;
    
  2. or download this
        my($date) = map m%\w+, (\w+ \d\d, \d\d\d\d)%, @file;
    
  3. or download this
        local $/ = \1024;
        my $begin = <F>;
        my ($date) = $begin =~ m%\w+, (\w+ \d\d, \d\d\d\d)%;
        my $time = str2time($date);
    
  4. or download this
        undef $/;