in reply to
learning oo
Your object reference is getting interpolated in the double quoted string. Try:
print 'The color of $circle is: ', $circle->getName(),"\n";
[download]
cephas
Comment on
Re: learning oo
Download
Code
In Section
Seekers of Perl Wisdom