perltoot bug?

H

himanshu.garg

Hello,

In the aggregation section of perltoot Person.pm does not use
Fullname. As a result of which running the test script given there.

E:\himanshu\ooperl>perl aggregation-test.pl
Can't locate object method "new" via package "Fullname" (perhaps you
forgot to l
oad "Fullname"?) at Person.pm line 13.
All persons are going away now.

However by adding 'use Fullname;' to Person.pm I get the
following expected output:-

E:\himanshu\ooperl>perl perltoot2.pl
Tommy is really St Thomas Aquinas
Tommy's age: 1.
Tommy's age: 2.
Destroying Person=HASH(0x2252d0) Tommy at perltoot2.pl line 0
All persons are going away now.

Is this a doc bug.

Thank You,
Himanshu.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top