and then:package A; require Exporter ; our @ISA = qw(Exporter); @EXPORT_OK = qw(suba); sub suba { print "suba\n" ; } 1 ;
use strict; use A qw(suba); suba();
In reply to Re: subroutine inheritance
by johnnywang
in thread subroutine inheritance
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |