Re: Pseudo-hashes are deprecated



Paul Lalli wrote:
On Jan 29, 7:45 am, ha...@xxxxxxxxxxxxxxx (Harry Bennett) wrote:
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

One of us is very confused. I'm guessing you. There is no such thing
as "9.4.3" in the third edition of the Camel. There is a chapter 9,
of course, and indeed it deals with multi-dimensional structures. But
there is no such example listed in it.

The O'Reilly Perl CD Bookshelf has a section numbering system. 9.4.3 is
the section titled "Access and Printing of a Hash of Hashes" on page 281
of the printed book.

Rob
.



Relevant Pages

  • 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)
  • 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 ... I guess my ultimate question would be, what have they been deprecated to? ...
    (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: Use of uninitialized value in string eq at interface_details.pl line 174.
    ... Paul Lalli wrote: ... but if i leave it blank then i get a the following warning ... Use of uninitialized value in string eq at interface_details.pl line ... simply equal to the empty string, ...
    (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)