Hello!
I've spent one whole day to find out what can I do with the
"symbol table" hash-es to work as I expected.
I want @namespace::{key1,key2} return the
($namespace::key1,$namespace::key2) list, but it only returns
references to that. Is it a bug or a feature? Why it is not working
as similar sub-hash-es?
I solved the problem with "map { $$_ } @namespace::{key1,key2}"
but I am not sure that this is a "clean" solution.
I am afraid of perl changes, it may not work in future releases.
Is it a better (and cleaner) way to do things like this?
Please answer to my email address (dlux at dlux.hu) too, because I
am not on the perl5-porters list.
dLux
--
This message is READ-ONLY
Thread Next