in reply to Re^2: perl PDL question
in thread perl PDL question

The sumover part works, and produces the output array that is the appropriate indexes... brilliant!
When I replace sumover($a==$b) with any($a==$b) I get an error though....
perldl> $z = which(any($a == $b)); Can't call method "flat" without a package or object reference at /usr +/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/PDL/Primitive. +pm line 1962, <STDIN> line 20.