The problem is that
RaceHorse is expecting its object to be a hash reference, but you're using code (
Horse and
Animal) that is creating an object based on a scalar reference.
Are you sure you're using the appropriate code examples?
_____________________________________________________
Jeff
[japhy]Pinyan:
Perl,
regex,
and
perl
hacker, who'd like a
job (NYC-area)
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;