It's been a great while since I last used DaniWeb and have come back with a quandry in hopes I can get some guru support on...
My perl is very beginner. I used to code in ++ so I know the general rule of programming; however, I do not know the correct syntaxes so I'll be as specific as possible on what I'm trying to achieve.
I have a file named "people.txt"
Example snnippit of the txt file:
Name Sara Goody
I want to take the above file and pull out people who have BOTH a NAME & LOCATION and print it to a csv file and ignore the rest. I also want to append the ApplicationID to the csv as well.. Preferably in one column and each ID per row (doesn't have to associate to any persons name).
When I open the CSV, I am looking for "Name" "Location" "IDs" as columns in my csv file.
I'm not sure where to start on this and have been reading a perl book for dummies for two days now.
Any help would be greatly appreciated.
Edited by Serpterion