> > my $r = $sth->fetchrow_hashref() or return 0; > > $self->{keys %$r} = $self->{values %$r}; > > Perhaps you meant: > > @{$self}{keys %$r} = values %$r; Aha! You are correct! You have, uh, passed my test! Yah, I found that after I sent the message, but my question is still: Is there any other metaphor that makes more sense? xoxo, Andy -- # Andy Lester %_=split';','.; Perl ;@;st a;m;ker;p;not;o;hac;t;her;y;ju'; print map $_{$_}, split //, 'andy@petdance.com' ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe