| Next | Tricks of the Wizards | 29 |
You're probably familiar with using a blessed hash as an object
Hash elements are like C++ class members
Many people suggest using an array for space and time efficiency
See Greg Bacon's TPJ article
This trick was codified in 5.005's pseudohash feature
Which was subsequently removed
| Next | ![]() |
Copyright © 2003 M. J. Dominus |