Not quite... $key contains a name, not an index. doing $self->{keys}->[ $key ] won't work.
I could do $self->{keys}->{$key} but I don't think that would work in the case where I might serialise the object.
In reply to Re^2: "array" search
by Sheol
in thread "array" search
by Sheol
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |