in reply to A simple example OO script for total beginners
I think there is a typo on line 49 of your Number.pm example:
return self->{num};
should be
return $self->{num};
return self->{num};
should be
return $self->{num};
In Section
Tutorials
in reply to A simple example OO script for total beginners