Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    my $sta  = stat($_);
    my @date = localtime($sta->atime);
    printf("%d-%d-%d\n",$date[4]+1,$date[3],$date[5]+1900);
    
  2. or download this
    use warnings;
    use strict;
    my @sta = stat($_);
    my @date = localtime($sta[8]);
    printf("%d-%d-%d\n",$date[4]+1,$date[3],$date[5]+1900);
    
  3. or download this
    ---
    print map { my ($m)=1<<hex($_)&11?' ':'';
    $m.=substr('AHJPacehklnorstu',hex($_),1) }
    split //,'2fde0abe76c36c914586c';