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.
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.