summaryrefslogtreecommitdiff
path: root/dpmert/tac.pl
blob: 9fb525c16a9b2ed5a079ee333c5fcab1a120164e (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/perl

while(<>) {
    chomp;
    $|=1;
    print (scalar reverse($_));
    print "\n";
}