This is implemented "by hand" using @ISA which is defined for every package and contains list of packages to be searched for unsatisfied externals |
package Fred; |
require Exporter; # Make package Exporter available to Fred |
@ISA = qw(Exporter); # Exporter is to be searched for unsatisfied externals |
# See Exporter manual page for more details |
Of course AUTOLOAD mechanism kicks in as technique of last resort if cannot find a subroutine anywhere else |