Then just use one hash, since you never use the same value as both a key and a value...
- tyemy %chordpos; @chordpos{1..12}= qw( A A# ... ); @chordpos{values %chordpos}= keys %chordpos;
In reply to Re: Bijective data association structure? (1 hash)
by tye
in thread Bijective data association structure?
by FoxtrotUniform
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |