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: Regular Expressions: Re: [namishtiwari] perl script help: Edit Log



1arryb
User

Jun 16, 2009, 7:55 AM


Views: 16091
Re: [namishtiwari] perl script help

namishtiwari,

At line 10 you're re-opening temp1 in overwrite mode for each file. Move the open/close statements outside the loop on logFile.

UPDATE: This would have been more apparent to both of us if you properly indented your code.

Cheers,

Larry


(This post was edited by 1arryb on Jun 16, 2009, 7:56 AM)


Edit Log:
Post edited by 1arryb (User) on Jun 16, 2009, 7:56 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