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: Intermediate: Re: [Laurent_R] Write the data by preserving quote characters: Edit Log



FishMonger
Veteran / Moderator

Dec 9, 2014, 10:44 AM


Views: 6138
Re: [Laurent_R] Write the data by preserving quote characters

Based on the print statement the OP used, split was used so that some of the fields could be left out of the new file.

One issue I missed (due to the lack of code formatting/indentation) when I first read the post is that the new file is being reopened for each and every line in the source file. That's a very inefficient approach.


(This post was edited by FishMonger on Dec 9, 2014, 10:47 AM)


Edit Log:
Post edited by FishMonger (Veteran) on Dec 9, 2014, 10:47 AM


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

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