>If it were possible to assign to the keys of a hash, we'd be >a lot closer to our ideal: > keys(%intersection) = map { exists $set1{$_} ? ( $_ => 1 ) : () } keys<SNIP> >but this is not currently legal perl. keys %HASH = LIST; is really @HASH{ LIST } = (); --tom
- Re: RFC 179 (v1) More functions from set theory to manipu... Michael Maraist
- Re: RFC 179 (v1) More functions from set theory to m... Tom Christiansen
- Re: RFC 179 (v1) More functions from set theory to m... Gael Pegliasco
- Re: RFC 179 (v1) More functions from set theory ... Jeremy Howard
- Re: RFC 179 (v1) More functions from set the... Gael Pegliasco
- Re: RFC 179 (v1) More functions from set... Tom Christiansen
- Re: RFC 179 (v1) More functions fro... Tom Christiansen
- Re: RFC 179 (v1) More functions... Gael Pegliasco
- Re: RFC 179 (v1) More functions... Buddha Buck
- Re: RFC 179 (v1) More functions... John Porter
- proto-RFC: keys(HASH) as lvalue... Tom Christiansen
- proto-RFC: keys(HASH) as lvalue... John Porter
- Re: proto-RFC: keys(HASH) as lv... Tom Christiansen
- Re: proto-RFC: keys(HASH) as lv... Bart Lateur
- Re: proto-RFC: keys(HASH) as lv... John Porter
- Re: RFC 179 (v1) More functions... Johan Vromans
- Re: RFC 179 (v1) More functions... Gael Pegliasco
- Re: RFC 179 (v1) More functions... Tom Christiansen
- Re: RFC 179 (v1) More functions... Gael Pegliasco
- Re: RFC 179 (v1) More functions... Chaim Frenkel
- Re: RFC 179 (v1) More functions... Gael Pegliasco