Pseudo-hashes are deprecated



I am using this line:

foreach my $pair (keys %{$config{server}}) {
......
}

but get the warning:

Pseudo-hashes are deprecated at ......

I am using the example from 'Programming Perl (third edition)' Section 9.4.3

I guess my ultimate question would be, what have they been deprecated to?
And an example would be GREATLY appreciated.


TIA
.



Relevant Pages

  • Re: Pseudo-hashes are deprecated
    ... Paul Lalli wrote: ... but get the warning: ... Pseudo-hashes are deprecated at ...... ... I am using the example from 'Programming Perl ' Section 9.4.3 ...
    (perl.beginners)
  • Re: Pseudo-hashes are deprecated
    ... but get the warning: ... Pseudo-hashes are deprecated at ...... ... I am using the example from 'Programming Perl ' Section 9.4..3 ... Paul Lalli ...
    (perl.beginners)
  • Re: Pseudo-hashes are deprecated
    ... but get the warning: ... Pseudo-hashes are deprecated at ...... ... I am using the example from 'Programming Perl ' Section 9.4.3 ...
    (perl.beginners)
  • Re: Pseudo-hashes are deprecated
    ... Pseudo-hashes are deprecated at ...... ... I am using the example from 'Programming Perl ' Section 9.4.3 ... I guess my ultimate question would be, what have they been deprecated to? ... You wanted just the hashref there. ...
    (perl.beginners)
  • Re: Pseudo-hashes are deprecated
    ... but get the warning: ... The error is really the use of pseudo-hashes. ... goal was to have the speed of an array, but the easy of use of a hash. ... ** see perldoc fields or http://perldoc.perl.org/fields.html ...
    (perl.beginners)