summaryrefslogtreecommitdiff
path: root/lib/Attribute/Handlers/README
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Attribute/Handlers/README')
-rw-r--r--lib/Attribute/Handlers/README74
1 files changed, 0 insertions, 74 deletions
diff --git a/lib/Attribute/Handlers/README b/lib/Attribute/Handlers/README
deleted file mode 100644
index c9e067c8e6..0000000000
--- a/lib/Attribute/Handlers/README
+++ /dev/null
@@ -1,74 +0,0 @@
-==============================================================================
- Release of version 0.76 of Attribute::Handlers
-==============================================================================
-
-
-NAME
- Attribute::Handlers - Simpler definition of attribute handlers
-
-DESCRIPTION
- This module, when inherited by a package, allows that package's class to
- define attribute handler subroutines for specific attributes. Variables
- and subroutines subsequently defined in that package, or in packages
- derived from that package may be given attributes with the same names as
- the attribute handler subroutines, which will then be called at the end
- of the compilation phase (i.e. in a `CHECK' block).
-
-EXAMPLE
-
- package UNIVERSAL;
- use Attribute::Handlers;
-
- my %name;
- sub name { return $name{$_[2]}||*{$_[1]}{NAME} }
-
- sub Name :ATTR { $name{$_[2]} = $_[4] }
-
- sub Purpose :ATTR { print STDERR "Purpose of ", &name, " is $_[4]\n" }
-
- sub Unit :ATTR { print STDERR &name, " measured in $_[4]\n" }
-
-
- package main;
-
- my $capacity : Name(capacity)
- : Purpose(to store max storage capacity for files)
- : Unit(Gb);
-
- package Other;
-
- sub foo : Purpose(to foo all data before barring it) { }
-
-
-AUTHOR
- Damian Conway (damian@conway.org)
-
-COPYRIGHT
- Copyright (c) 2001, Damian Conway. All Rights Reserved.
- This module is free software. It may be used, redistributed
- and/or modified under the same terms as Perl itself.
-
-
-==============================================================================
-
-CHANGES IN VERSION 0.76
-
-
- - Fixed documentation nit (thanks Rick)
-
- - Improving intuitiveness of autotie mechanism (thanks Marcel)
-
- - Added $VERSION numbrs to demo modules (seems bizarre to me, but
- they're core too now).
-
-
-==============================================================================
-
-AVAILABILITY
-
-Attribute::Handlers has been uploaded to the CPAN
-and is also available from:
-
- http://www.csse.monash.edu.au/~damian/CPAN/Attribute-Handlers.tar.gz
-
-==============================================================================