NAME

Attribute::Lexical::UNIVERSAL - hook for lexical attribute management

DESCRIPTION

This class is part of the implementation of Attribute::Lexical. It is not meant to be touched by users directly.

Attribute::Lexical establishes this class as a superclass of UNIVERSAL, in order to make lexically-scoped attribute declarations available everywhere. This is necessary because the underlying system for attribute management is package-based. Attribute::Lexical's attribute declarations obey lexical, rather than package, scoping.

This class should not affect anything in any situation where there are no lexical attribute declarations in scope. However, the underlying protocol for attribute management is tricky, and convoluted arrangements of attribute managers are liable to tread on each other's toes.

SEE ALSO

Attribute::Lexical, UNIVERSAL, attributes

AUTHOR

Andrew Main (Zefram) <zefram@fysh.org>

COPYRIGHT

Copyright (C) 2009, 2010, 2011, 2017 Andrew Main (Zefram) <zefram@fysh.org>

LICENSE

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.