in reply to Re: subroutine inheritance
in thread subroutine inheritance

Had the OP enabled strict in package A, it would have shown the error, too. :-)