attrs(3pm)

attrs3pm

Set/get attributes of a subroutine

Usage

    sub foo {
        use attrs qw(locked method);
        ...
    }
    @a = attrs::get(\&foo);

Overview

This module lets you set and get attributes for subroutines.

For 5.004_xx this is an empty stub provided for backwards compatibility for scripts and modules written for 5.005.

From perl-5.004-doc 5.004.05-6 in Debian 2.2 (Potato). Also shipped by perl-5.005-doc. Parsed by carta from the page's man source.