3 base - Establish IS-A relationship with base class at compile time
13 Roughly similar in effect to
18 push @ISA, qw(Foo Bar);
21 This module was introduced with Perl 5.004_04.
25 Needs proper documentation!
34 foreach my $base (@_) {
35 unless (defined %{"$base\::"}) {
37 # Only ignore "Can't locate" errors from our eval require.
38 # Other fatal errors (syntax etc) must be reported.
39 die if $@ && $@ !~ /^Can't locate .*? at \(eval /;
40 unless (defined %{"$base\::"}) {
42 Carp::croak("Base class package \"$base\" is empty.\n",
43 "\t(Perhaps you need to 'use' the module ",
44 "which defines that package first.)");
49 push @{caller(0) . '::ISA'}, @_;