On Jan 30, Uri Guttman said: > AL> $self->{keys %$r} = $self->{values %$r}; ^^^^^^^^^^^^^^^^^^^ I think he meant ``values %$r''. >$self->{keys %$r} is a scalar expression with a list key. this will be >converted into the perl4 style multidimensional array by joining the >list elements with $; and using that as the single key to the anon hash. No, that conversion only takes place with a literal list inside the braces. $hash{keys %foo} = values %foo; # scalar keys(), scalar values() >http://www.sysarch.com/perl/tutorials/hash_slices.txt *peruse* -- MIDN 4/C PINYAN, USNR, NROTCURPI http://www.pobox.com/~japhy/ jeff pinyan: japhy@pobox.com perl stuff: japhy+perl@pobox.com CPAN ID: PINYAN http://www.perl.com/CPAN/authors/id/P/PI/PINYAN/ PerlMonth - An Online Perl Magazine http://www.perlmonth.com/ ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe