> Does any other RFC give the equivalent to an 'in' operator? RFC 22 offers: switch ($a) { case (@b) { ... } } and my forthcoming superpositions RFC will offer: if ($a == any(@b) ) { ... } and: if ($a eq any(@b) ) { ... } and: if ($a != any(@b) ) { ... } and: if (any(@a) == any(@b) ) { ... } and: if (all(@a) eq any(@b) ) { ... } etc. which I think is by far the cleanest solution. :-) Damian
- Re: $a in @b Peter Scott
- Re: $a in @b John Porter
- Re: $a in @b Damian Conway
- Re: $a in @b David L. Nicol
- Re: $a in @b David L. Nicol
- Re: $a in @b Bart Lateur
- Fwd: RE: $a in @b Ed Mills
- Re: Fwd: RE: $a in @b Tom Christiansen
- Re: Fwd: RE: $a in @b Piers Cawley
- Re: Fwd: RE: $a in @b John Porter
- Re: $a in @b Damian Conway
- Re: $a in @b Jonas Liljegren
- RE: $a in @b Garrett Goebel
- Re: $a in @b Bart Lateur
- Re: $a in @b Damian Conway
- Re: $a in @b Bart Lateur
- Re: $a in @b Jarkko Hietaniemi
- Re: $a in @b John Porter
- Re: $a in @b Damian Conway
- Re: $a in @b Jarkko Hietaniemi
- Re: $a in @b Damian Conway