in reply to Re^2: An infix fix
in thread An infix fix

I see a difference between this and the any() / all() usage. How would you do

if (all(@results)) { ... }

using the

if (x & y & z) { ... }

style of coding it?

/me is asking a question just in case I am missing something, since I don't see the relation between the two styles. One can process a list, the other cannot.

--MidLifeXis

Replies are listed 'Best First'.
Re^4: An infix fix
by stvn (Monsignor) on Mar 22, 2005 at 20:21 UTC

    You cannot actually. You do Junctions on lists by using the any()/all()/one() functions. Which correspond to the '&', '|' and '^' Junction operators. You can see some tests for this here. If you look in the 'misc_junctions.t' file, you will see some examples of any()/all() and one().

    -stvn