Thank you all very much. This is the answer I hoped for.
As to the purpose of the question:
I was experimenting with eval and wondered if I could put sub-references in a hash to prevent double evals.
(the mechanism behind it would check the existence of the to-be-evalled string and simply return a reference to
the sub-ref in question if it existed and otherwise make a new pair )
I have no clue of whether such a mechanism already exists under perl's shiny bonnet.
In reply to Re: Hash key string restrictions?[THANKS]
by Ojosh!ro
in thread Hash key string restrictions?
by Ojosh!ro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |