Capital C for Cat. Classes are case sensitive in Perl.
So your code should read:
$mycat = Cat->new();
stephen
In reply to Re: creating class base modules
by stephen
in thread creating class base modules
by Avox
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |