in reply to (When) Should I 'use fields;'?

If you use pseudo-hash-based objects, then yes, use fields is a good idea. However, pseudo-hashes are generally regarded as a good idea poorly implemented and their use is discouraged (at least, that's the impression I've gotten). I've done pseudo-hash-based classes before. It's nothing to write home about. I'd say you should skip it.

Replies are listed 'Best First'.
Re^2: (When) Should I 'use fields;'?
by Aristotle (Chancellor) on Dec 23, 2002 at 19:44 UTC
    Do note that as opposed to the current pseudohashes themselves, the fields pragma is there to stay and not going to be deprecated anytime soon.

    Makeshifts last the longest.