Attribute::Util - A selection of general-utility attributes


NAME

Attribute::Util - A selection of general-utility attributes


SYNOPSIS

  # makes :Abstract, :Alias, :Memoize and :SigHandler available. 
  use  Attribute::Util;
  # or you can load individual attributes 
  use Attribute::Util(Memoize SigHandler);


DESCRIPTION

When used without argument, this module provides four universally accessible attributes of general interest as follows:

Abstract
See the Attribute::Abstract manpage.

Alias
See the Attribute::Alias manpage.

Memoize
See the Attribute::Memoize manpage.

SigHandler
See the Attribute::SigHandler manpage.

When used with arguments, this module acts as an attributes loader.

  use Attribute::Util qw/Memoize SigHandler/;

Is exactly the same as

  use Attribute::Memoize; use Attribute::SigHandler;

Theoretically, you can load any other attribute handlers so long as it is named Attribute::AnyThing.


BUGS

None known so far. If you find any bugs or oddities, please do inform the author.


AUTHOR

Marcel Grunauer, <marcel@codewerk.com>

Dan Kogai, <dankogai@dan.co.jp>


COPYRIGHT

Copyright 2001 Marcel Grunauer. All rights reserved.

Copyright 2006 Dan Kogai. All rights reserved.

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


SEE ALSO

perl(1), the Attribute::Handlers manpage

 Attribute::Util - A selection of general-utility attributes