<?xml version="1.0" encoding="windows-1252"?>
<node id="190530" title="Re: Comparing Arrays -&gt; storing results in a third Array" created="2002-08-15 17:22:34" updated="2005-07-27 12:27:54">
<type id="11">
note</type>
<author id="186362">
adrianh</author>
<data>
<field name="doctext">
&lt;p&gt;Not that I'm recommending this as a real solution. However, if you are feeling slightly perverse.&lt;/p&gt;

&lt;code&gt;
use strict;
use warnings;
use Quantum::Superpositions;

my @array_1 = ('x', 'y', 'z');
my @array_2 = ('v', 'w', 'x');
my @array_3 = eigenstates( any(@array_1) eq any(@array_2) );
&lt;/code&gt;</field>
<field name="root_node">
190269</field>
<field name="parent_node">
190269</field>
</data>
</node>
