Re: Junctions Question

2005-03-17 Thread Luke Palmer
Stevan Little writes: > my $a = 'a'; > my $b = ''; > my $c = ''; > > my $any_of_them = $b | $c | $a; > # this test passes > ok('a' eq $any_of_them, '($b | $c | $a) matches at least one "a"'); > > $b = 'b'; > $c = 'c'; > > # this test passes ... > ok('a' eq $any_of_them, '($b | $c | $a) matches a

Junctions Question

2005-03-17 Thread Stevan Little
Hello All, I have been working on some misc. junction tests for Pugs and I ran into an item which I am not sure of. It has to do with a junction of variables which is then assigned to variable itself, and how "bound" the variables inside the junction are. This is best illustrated with code, so