Class::IntrospectionMethods::Catalog 1.003
Sponsored Links
Class::IntrospectionMethods::Catalog 1.003 Ranking & Summary
File size:
0.031 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
834
Date added:
2007-07-18
Publisher:
Dominique Dumont
Class::IntrospectionMethods::Catalog 1.003 description
Class::IntrospectionMethods::Catalog can manage catalogs from IntrospectionMethods.
Exported functions
set_method_info( target_class, method_name, info_ref )
Store construction info for method method_name of class target_class.
set_global_catalog (target_class, ...)
Store catalog informations. The first parameter is the class featuring the methods declared in the global catalog.
Following paramaters is a set of named paramaters (e.g. key => value):
name
Mandatory name for the global catalog
list
array ref containing the list of slot and catalog. E.g.:
list => [
[qw/foo bar baz/] => foo_catalog,
[qw/a b z/] => alpha_catalog,
my_object => my_catalog
],
isa
Optional hash ref declaring a containment for catalog. E.g:
list => [ foo => USER ,
admin => ROOT ],
isa => { USER => ROOT }
Then the ROOT catalog will return foo, and the USER catalog will return foo and admin.
help
Optional hash ref (slot_name => help). Store some help information for each slot.
set_global_catalog will construct:
A ClassCatalog object containing the global catalog informations.
A sub_ref containing the ClassCatalog object in a closure.
Returns ( slot_name, sub_ref ). The sub_ref is to be installed in the target class.
When called as a class method, the subref will return the ClassCatalog object. When called as a target class method, the subref will return an ObjectCatalog object associated to the ClassCatalog object stored in the closure.
These 2 object have the same API. ObjectCatalog is used to contain catalog changes that may occur at run-time. ClassCatalog informations will not change.
Exported functions
set_method_info( target_class, method_name, info_ref )
Store construction info for method method_name of class target_class.
set_global_catalog (target_class, ...)
Store catalog informations. The first parameter is the class featuring the methods declared in the global catalog.
Following paramaters is a set of named paramaters (e.g. key => value):
name
Mandatory name for the global catalog
list
array ref containing the list of slot and catalog. E.g.:
list => [
[qw/foo bar baz/] => foo_catalog,
[qw/a b z/] => alpha_catalog,
my_object => my_catalog
],
isa
Optional hash ref declaring a containment for catalog. E.g:
list => [ foo => USER ,
admin => ROOT ],
isa => { USER => ROOT }
Then the ROOT catalog will return foo, and the USER catalog will return foo and admin.
help
Optional hash ref (slot_name => help). Store some help information for each slot.
set_global_catalog will construct:
A ClassCatalog object containing the global catalog informations.
A sub_ref containing the ClassCatalog object in a closure.
Returns ( slot_name, sub_ref ). The sub_ref is to be installed in the target class.
When called as a class method, the subref will return the ClassCatalog object. When called as a target class method, the subref will return an ObjectCatalog object associated to the ClassCatalog object stored in the closure.
These 2 object have the same API. ObjectCatalog is used to contain catalog changes that may occur at run-time. ClassCatalog informations will not change.
Class::IntrospectionMethods::Catalog 1.003 Screenshot
Advertisements
Class::IntrospectionMethods::Catalog 1.003 Keywords
IntrospectionMethods
ClassCatalog
Catalog 1.003
USER
ROOT
manage catalogs
Can Manage
catalog
class
ref
object
method
name
Class::IntrospectionMethods::Catalog
ClassIntrospectionMethodsCatalog
Class::IntrospectionMethods::Catalog 1.003
Bookmark Class::IntrospectionMethods::Catalog 1.003
Class::IntrospectionMethods::Catalog 1.003 Copyright
WareSeeker periodically updates pricing and software information of Class::IntrospectionMethods::Catalog 1.003 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Class::IntrospectionMethods::Catalog 1.003 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Class::IntrospectionMethods is a Perl module that creates methods with introspection. Free Download
Class::Struct::FIELDS module combine Class::Struct, base and fields. Free Download
libgnomesu is a library which allows you to run programs as root or another user. Free Download
Method::Declarative is a Perl module to create methods with declarative syntax. Free Download
Class::Meta::Declare is a Perl module deprecated in favor of Class::Meta::Express. Free Download
Class::Std is a Perl module to support for creating standard "inside-out" classes. Free Download
Object::Meta::Plugin::Host are hosts plugins that work like Object::Meta::Plugin. Free Download
Class::Inner is a perlish implementation of Java like inner classes. Free Download
Latest Software
Popular Software
Favourite Software