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

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner: Re: [FishMonger] Search for text within a line of text: Edit Log


Jun 1, 2013, 5:18 PM

Views: 1883
Re: [FishMonger] Search for text within a line of text


Many thank you's for the updated script. As I read through it... I wanted to make sure I'm on the right track here...

With a cursory glance, it looks like you are interpreting each field with the ':' as the delimiter, noting if the field has data in it or not. My only note here is your assumption about the hostname always being the 2nd field in the NonProd file. With this list, you can't necessarily do that, but now you've got me thinking to get more specific and just look at the suffix, because that actually is important to me if I wanted to approach it using an example of "Look at each line in the 2nd (NonProd) file, and if it has :KUL or :KUX in the line, search that line and discard all of the others, because the data (or field) before the :KUL/:KUX is in fact the hostname that I am looking for.

Did I get that right... (be gentle... LOL)...


(This post was edited by mike3point0 on Jun 1, 2013, 5:19 PM)

Edit Log:
Post edited by mike3point0 (Novice) on Jun 1, 2013, 5:19 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