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: [mike3point0] Search for text within a line of text: Edit Log



Laurent_R
Veteran / Moderator

May 31, 2013, 6:13 AM


Views: 1169
Re: [mike3point0] Search for text within a line of text

Using a hash as suggested bu Fishmonger is of course far more efficient, provided however that the fields in the files are equal. If it is not the case (the fact that you use a regex tells me it is probably not the case), then the two nested loops approach is the right solution.


(This post was edited by Laurent_R on May 31, 2013, 6:33 AM)


Edit Log:
Post edited by Laurent_R (Veteran) on May 31, 2013, 6:33 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