Subject: | Let classes inherit configuration |
Using get_attribute to retrieve the configfile attribute would not find
it if it was set in a parent class.
The solution could be changing:
my $cfmeta = $class->meta->get_attribute('configfile');
to:
my $cfmeta = $class->meta->find_attribute_by_name('configfile');
or possibly by using eval as proposed by Sam in
https://rt.cpan.org/Ticket/Display.html?id=57023