diff options
Diffstat (limited to 'dpmert/tac.pl')
-rwxr-xr-x | dpmert/tac.pl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dpmert/tac.pl b/dpmert/tac.pl new file mode 100755 index 00000000..9fb525c1 --- /dev/null +++ b/dpmert/tac.pl @@ -0,0 +1,8 @@ +#!/usr/bin/perl + +while(<>) { + chomp; + $|=1; + print (scalar reverse($_)); + print "\n"; +} |