Re: Pseudo-hashes are deprecated
- From: krahnj@xxxxxxxxx (John W. Krahn)
- Date: Tue, 29 Jan 2008 05:27:03 -0800
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
I guess my ultimate question would be, what have they been deprecated to?
And an example would be GREATLY appreciated.
See the "Pseudo-hashes: Using an array as a hash" section from:
perldoc perlref
And also:
perldoc fields
John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order. -- Larry Wall
.
- References:
- Pseudo-hashes are deprecated
- From: Harry Bennett
- Pseudo-hashes are deprecated
- Prev by Date: Pseudo-hashes are deprecated
- Next by Date: Re: Pseudo-hashes are deprecated
- Previous by thread: Pseudo-hashes are deprecated
- Next by thread: Re: Pseudo-hashes are deprecated
- Index(es):
Relevant Pages
|
|