|
|
| Think about Loose Coupling | |
| PerlMonks |
Re: PVCS (Almost) More like PVCS::Auditby chromatic (Archbishop) |
| on Sep 28, 2000 at 04:18 UTC ( [id://34327]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
You're in luck. The first part is covered in perlfaq4, specifically How do I compute the difference of two arrays? How do I compute the intersection of two arrays?.
I suppose you could use hash slices to accomplish the same thing... but that's the basic idea. For the second part, you might use Algorithm::Diff. A simple string compare would work, too, if I understand you correctly.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||