|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re: Re: Re: How to look for exact pattern matchby davorg (Chancellor) |
| on Oct 30, 2001 at 11:00 UTC ( [id://122062]=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 not removing the elements, you're replacing them with spaces. I think you want this, then:
Which leave @out contains all the elements from @in that don't exist in @test. Actually, thinking about it, that's the disjunction of two sets and there's probably some really short recipe to do it in the Cookbook. --<http://www.dave.org.uk> "The first rule of Perl club is you don't talk about Perl club."
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||