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
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/