CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [libertyforall] HELP!! Multiplying numbers in a file using Perl.: Edit Log



7stud
Enthusiast

Sep 20, 2010, 9:00 PM


Views: 1237
Re: [libertyforall] HELP!! Multiplying numbers in a file using Perl.


Quote
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)


Edit Log:
Post edited by 7stud (Enthusiast) on Sep 20, 2010, 9:01 PM
Post edited by 7stud (Enthusiast) on Sep 20, 2010, 9:02 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives