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