in reply to Variable Names and References

Any time you find yourself wanting to create variables using a string as the name, you want a hash.

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

Replies are listed 'Best First'.
Re^2: Variable Names and References
by Anonymous Monk on Mar 11, 2007 at 19:09 UTC
    Any time you find yourself wanting to create variables using a string as the name, you want a hash.
    Except when you want an array...