Perl-Sensitive Sunglasses | |
PerlMonks |
using the split commandby deano (Initiate) |
on Jan 26, 2012 at 22:56 UTC ( [id://950237]=perlquestion: print w/replies, xml ) | Need Help?? |
deano has asked for the wisdom of the Perl Monks concerning the following question:
Hello
I have file A.txt and B.txt File A A.txt contains the following:
File B B.txt contains the following:
My task is to create a script to do the following: 1. Read contents of file A and B, load the content of the first column only into individual array. ex. @arry={A,F}; 2. compare elements of both arrays and print out the differences lines. I need this for my work! the idea is to pull csv file from database and load it into an archive database then remove archived data from production database. I have spent hours today with no luck working on this Your help is highly appreciated! Thank younewbie monk!
Back to
Seekers of Perl Wisdom
|
|