in reply to Re: use fields
in thread use fields

Actually, since pseudohashes are being dumped, I would stay away from fields. It seems likely to change or disappear.

Replies are listed 'Best First'.
Re: Re: Re: use fields
by jmcnamara (Monsignor) on Jun 03, 2002 at 22:07 UTC

    Actually, since pseudohashes are being dumped, I would stay away from fields.

    I think that the intention is to support fields even if pseudohashes are abandoned. From "Programming Perl" 3rd Ed., P257:

    Pseudohashes are a new and relatively experimental feature; as such, the underlying implementation may well change in the future. To protect yourself from such changes, always go through the fields module's documented interface via its phash and new functions

    This is also the migration method proposedby the Perl6 RFC: Pseudo-hashes must die!.

    --
    John.