
7stud
Enthusiast
Sep 20, 2010, 9:00 PM
Views: 742
|
|
Re: [libertyforall] HELP!! Multiplying numbers in a file using Perl.
|
|
|
If my file name is file1 and I want to modify the file as a stated above Generally, you are not going to modify a file. Your mindset should be: "How do I read a file and then write the output to a new file. If you need the new file to have the same name as the original file, then after you are done writing to the new file, delete the original file and rename the new file to the original file's name.
(This post was edited by 7stud on Sep 20, 2010, 9:02 PM)
|