
shest75
Novice
Oct 27, 2009, 11:26 AM
Views: 3288
|
|
Re: [Mordanthanus] Reversing the contents of a file
|
|
|
Bonjour, Please try ( you should change file1.txt by the name of your file. open FILE, "file1.txt" or die $!; while (<FILE>) { print reverse; print scalar reverse;print "\n"; }
(This post was edited by shest75 on Oct 27, 2009, 11:31 AM)
|