File: tid.pm

package info (click to toggle)
apertium-nno-nob 1.1.0~r66076-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 21,220 kB
  • sloc: xml: 588; sh: 556; perl: 307; makefile: 129; python: 71; lisp: 50
file content (22 lines) | stat: -rwxr-xr-x 465 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/perl -w

# Script to postedit articles translated from
# Bokmål Wikipedia to Nynorsk Wikipedia.

# Usage (in the directory apertium-nno-nob/):
# cat nob-inputarticle | apertium -d . -u nob-nno | ./wikifix-nob-nno.pl | ...

use utf8 ;

#!/usr/bin/perl 
use date::Format;

print time2str("%D", time), "\n"; 
# (prints 10/09/04)

print time2str("%m/%d/%Y", time), "\n"; 
# (prints 10/09/2004) 


#use Time::Local;
#my $time = timelocal($day, $mon, $year);