in reply to Re: Strange File read problem
in thread Strange File read problem
open FILE, "c:\sample.java"; while(<FILE>) { s/\r/\n/g; print "$_\n"; } close FILE;
And it printed the file correctly.
thanks for your help. I was so puzzled. How did you figure it out?
regards,
|
|---|