in reply to Hash key string restrictions?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Hash key string restrictions?[THANKS]
by ikegami (Patriarch) on Feb 10, 2007 at 04:18 UTC | |
by Ojosh!ro (Beadle) on Feb 10, 2007 at 12:45 UTC | |
by ikegami (Patriarch) on Feb 10, 2007 at 18:57 UTC |