⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 source of perl for linux application,
💻
字号:
==============================================================================                Release of version 0.79 of Attribute::Handlers==============================================================================NAME    Attribute::Handlers - Simpler definition of attribute handlersDESCRIPTION    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-2007, 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.==============================================================================0.79	- The version released with Perl 5.10.0	- All interpreted attributes are now passed as array references,	  eventually nested.	- Don't AUTOLOAD DESTROY (Jerry D Hedden, cpan bug #1911)	- A::H is now able to report caller's file and line number	  (David Feldman)==============================================================================AVAILABILITYAttribute::Handlers has been uploaded to the CPAN==============================================================================

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -