First I'm in my 2nd week of trying to code in perl but I am not asking for anyone to write my code for me by any means.
Platform: win2k3 w/ activestate 5.8.x perl installed
The task I have been given is to take two files and find records that no longer exist in file one, but exist in file 2.
file 1 will have one column of data:
user01
user02
user03
file 2 will have two colums of data:
user01 user01@emailaddress.com
user03 user03@emailaddress.com
user04 user04@emailaddress.com
Each file has approximately 190,000 records in it. I started to use the windows findstr command but it was running for over 2 hours. Someone suggested that Perl might be able to do this faster so here I am looking for guidance.
Thank you,
mn
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.