base

Provides a shortcut for setting up @ISA. You can say:

use base qw(A B);

instead of:

BEGIN {
    require Foo;
    require Bar;
    push @ISA, qw(Foo Bar);
}

Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.