I think there is a misunderstanding on your side. What do you think does the line
extends(qw/transaction_type/);
for you? What do you expect?
The line says that the class/package 'Monro::CC' is inheriting from class/package 'transaction_type'. But I assume you don't want this.
McA
In reply to Re^5: Class::Accessor attributes
by McA
in thread Class::Accessor attributes
by perldiverx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |