|P is for Practical|
Search and Removeby PyrexKidd (Monk)
|on Jun 12, 2010 at 02:03 UTC||Need Help??|
PyrexKidd has asked for the
wisdom of the Perl Monks concerning the following question:
I have a file of CSV in the format:
I need to remove a list of numbers that I have in another format in the same format.
My original thought was to read everything into an array and remove it that way, the problem I am running into is when I read it in it separates the ID and pin into different entries in the array: ie
so then I thought if I could just parse through the file then I could pull out the items that don't match:
as you can see this code is defunct too...
This makes a list for every iteration of the file line.
any suggestions please?
I'm not looking for someone to write the code for me, I just need someone to point me in the right direction.