What does dog->new() return? If you didn't have any new() defined in Bar, what would Bar->new() return?
I borrowed this syntax from the perlbot example
Thanks. I'll submit a patch to fix that example code.
In reply to Re^4: kind of effort required for learning OO perl ?!
by chromatic
in thread kind of effort required for learning OO perl ?!
by Anonymous Monk
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |