[geeks] Programming question.

David Cantrell david at cantrell.org.uk
Tue Apr 2 03:16:45 CST 2002


On Mon, Apr 01, 2002 at 07:58:16PM -0600, Bill Bradford wrote:
> Okay, so far, I havent been able to figure out a way to do this, so any
> suggestions would be appreciated.
> 
> Compare two lists.  List A, and List B.
> I want to be able to then extract a list of 
> elements of List B that are *not* in List A.

In perl ...

use Quantum::Superpositions;
@C = eigenstates(any(@B) != all(@A));

:-)

-- 
David Cantrell | david at cantrell.org.uk | http://www.cantrell.org.uk/david

   Educating this luser would be something to frustrate even the
   unflappable Yoda and make him jam a lightsaber up his arse
   while screaming "praise evil, the Dark Side is your friend!".
                              -- Derek Balling, in the Monastery



More information about the geeks mailing list