---
name: "base"
section: "3pm"
platform: "linux"
package: "perl-5.004-doc"
version: "5.004.05-6"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/base/3pm"
---

# base(3pm)

Establish IS-A relationship with base class at compile time

## NAME

base - Establish IS-A relationship with base class at compile time

## SYNOPSIS

```
    package Baz;
    use base qw(Foo Bar);
```

## DESCRIPTION

Roughly similar in effect to

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

When strict 'vars' is in scope *base* also let you assign to `@ISA` without having to declare `@ISA` with the 'vars' pragma first.

This module was introduced with Perl 5.004\_04.

## SEE ALSO

the *fields* manpage
