http://www.perlmonks.org?node_id=384798


in reply to Re^2: use fields; # damnit
in thread use fields; # damnit

First, there are reasons why pseudo-hashes are being deprecated. Until the non-pseudo fields has been out for a couple of releases I'm not going to use them.

The point is that fields is guaranteed to keep working the way it does. That it uses pseudohashes is an implementation detail you are not supposed to care about.

Of course, your objection that it requires knowledge about the implementation of the base class is valid and a good reason not to use it anyway.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re^4: use fields; # damnit
by adrianh (Chancellor) on Aug 22, 2004 at 15:43 UTC
    The point is that fields is guaranteed to keep working the way it does. That it uses pseudohashes is an implementation detail you are not supposed to care about.

    Yeah I realise that :-)

    The point I was trying to make was that right now fields are implemented using pseudo-hashes. Since pseudo-hashes have problems that I want to avoid I won't be using fields until they're implemented using restricted hashes (or whatever) and the new release has been out enough for the bugs to have been stomped on.