abdiel has asked for the wisdom of the Perl Monks concerning the following question:
The names are always in caps and are the only all caps strings in the document. I want to replace each name with a unique identifier (something generic like AAAAAAAA for JON DOE and BBBBBBBB for JANE SMITH) throughout the document. I know it's a simple solution, basic homework-type stuff but I haven't coded in over two years, and the time crunch to return these logs doesn't afford me the time to refresh my memory. Any quick help available?7/21/2006 6:22:49 start new visit signin - Requirements Passed 7/21/2006 6:22:49 visitor data captured for JON DOE 7/21/2006 6:22:49 visit record saved for JON DOE 7/21/2006 6:22:49 starting to send print job for JON DOE 7/21/2006 6:22:49 printing: row count is 1 7/21/2006 6:22:49 printing: print badge begin 7/21/2006 6:22:52 printing: in PrintBadges 7/21/2006 6:22:52 printing: about to replace objects 1 7/21/2006 6:22:53 printing: about to start printing 7/21/2006 6:22:55 printing: finished printing 7/21/2006 6:22:55 printing: done 7/21/2006 6:22:55 printing: print badge end 7/21/2006 6:22:59 finished sending print job for JON DOE 7/21/2006 6:22:59 finished with visit sign in for JON DOE 7/21/2006 8:25:42 start new visit signin - Requirements Passed 7/21/2006 8:25:42 visitor data captured for JANE SMITH 7/21/2006 8:25:43 visit record saved for JANE SMITH 7/21/2006 8:25:43 starting to send print job for JANE SMITH 7/21/2006 8:25:43 printing: row count is 1 7/21/2006 8:25:43 printing: print badge begin 7/21/2006 8:25:43 printing: in PrintBadges 7/21/2006 8:25:43 printing: in BdgDsgn_PrintVisitsBadges 7/21/2006 8:25:43 printing: about to replace objects 1 7/21/2006 8:25:44 printing: go object look 7/21/2006 8:25:44 printing: set object look 7/21/2006 8:25:44 printing: got objects 7/21/2006 8:25:44 printing: about to start printing 7/21/2006 8:25:46 printing: finished printing 7/21/2006 8:25:46 printing: done 7/21/2006 8:25:46 printing: print badge end 7/21/2006 8:25:49 finished sending print job for JANE SMITH 7/21/2006 8:25:51 finished with visit sign in for JANE SMITH
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Log cleanup script
by andyford (Curate) on Aug 14, 2006 at 20:18 UTC | |
|
Re: Log cleanup script
by GrandFather (Saint) on Aug 14, 2006 at 20:58 UTC |