use Quantum::Entanglement; my ($foo, $bar, @foo); @foo = qw(one two three); $foo = entangle((1) x @foo); sub foo {my $state = $_[0]; return ${$_[1]}[$state]} $bar = p_func('foo', $foo, \@foo); if ($bar eq 'one') { .... }
In reply to Re: Set Operators
by greenback
in thread Set Operators
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |