>I tought about a posibility to access a HASH in way that the VALUES can
also
>be used like KEYS...i.e in perl6 I will say this :
>
>%hash{key} = value;
>
>I want to say also :
>
>{value}hash% = key;

Please forget about it. It is just syntactic sugar for yourself. The hash
mapping 
is m-to-1, there are (possible) multiple keys for the same value.

Just use two hashes for this purpose. If you can write a class that help
keeping 
track of the two hashes, that will be more useful than inventing weird
syntax.

Hong

Reply via email to