Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    use Getopt::Std;
    use POSIX qw(strftime);
    use Time::ParseDate;
    
  2. or download this
    $when = strftime( '%m%d%y', localtime $dt );
    
  3. or download this
    perl -c script.pl
    perl -MO=Lint script.pl
    perl -MO=Deparse script.pl
    perltidy script.pl
    
  4. or download this
    
    #!/usr/bin/perl
    ...
        $when = strftime( '%m%d%y', localtime $dt );
        chomp $when;
    }