Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.329.970 Times

Class::IntrospectionMethods 1.003

  Date Added: November 16, 2010  |  Visits: 851

Class::IntrospectionMethods

Report Broken Link
Printer Friendly Version


Product Homepage
Download (92 downloads)



Class::IntrospectionMethods is a Perl module that creates methods with introspection. SYNOPSIS use Class::IntrospectionMethods qw/make_methods/; make_methods ( parent, global_catalog => { name => metacat, list => [ [qw/foo/] => f_cat, [qw/bar baz/] => b_cat, ], } new_with_init => new, get_set => [ qw /foo bar baz / ]; ) ; This module provides: A way to set up a lot of get/set method. These get/set methods can access plain scalars, array, hash. These scalar, hash or array can be tied (See perltie) with classes specified by the user. The element of these arrays or hashes can be constrained to be object, tied scalar. A way to later query the object or class to retrieve the list of methods (aka slots) created by this module. A way to organize these slots in several catalogs. When a slot contains object or tied scalars hashes or arrays, the contained object can be queried for the container object. In other words, the parent object (the one constructed by Class::IntrospectionMethods contains a child object in one of its slots either as a plain object or an object hidden behind a tied construct. Class::IntrospectionMethods will provide the child object a method to retrieve the parent object reference. For instance, you can use this module to create a tree where each node or leaf is an object. In this case, this module provides methods to navigate up the tree of objects with the installed "parent" method. In other words, this module provides special methods to enable the user to navigate up or down a tree (or directed graph) using introspection (to go down) and the "parent" method to go up. You may notice similarities between this module and Class::MethodMaker. In fact this module was written from Class::MethodMaker v1.08, but it does not provide most of the fancy methods of Class::MethodMaker. Only scalar, array and hash accessors (with their tied and objects variants) are provided. Originally, the introspection and "parent" functionalities were implemented in Class::MethodMaker. Unfortunately, they were not accepted by Class::MethodMakers author since they did not fit his own vision of his module (fair enough). The old API of Class::MethodMaker is provided as deprecated methods. Using the new (and hopefully more consistent) API is prefered..

Requirements: No special requirements
Platforms: Linux
Keyword: Classintrospectionmethods Introspectionmethods Libraries Methodmaker Methods Module Object Parent Perl Perl Module Programming Tied
Users rating: 0/10

License: Freeware Size: 31.74 KB
USER REVIEWS
More Reviews or Write Review


CLASS::INTROSPECTIONMETHODS RELATED
Libraries  -  Audio::MadJACK 0.04
Audio::MadJACK is a Perl module to talk to MadJACK server using Object Oriented Perl. SYNOPSIS use Audio::MadJACK; my $mj = new Audio::MadJACK( osc.udp://madjack.example.net:4444/ ); $mj->load( Playlist_A/mymusic.mp3 ); $mj->play(); The...
5.12 KB  
Programming  -  Ongoing Object-Oriented Perl Project 1.0
Download code, Learn code, Share code.The Ongoing Object-oriented Perl Project.scripts, tutorials, modules, case studies, anything OOPerl --not excluding contributions of OO discipline in other programming languages.
772.4 KB  
Libraries  -  Locale::Object::Language 0.75
Locale::Object::Language Perl module contains language information objects. Locale::Object::Language allows you to create objects containing information about languages such as their ISO codes, the countries theyre used in and so on. SYNOPSIS...
47.1 KB  
Libraries  -  DWH_File 0.24
DWH_File module contains data and object persistence in deep and wide hashes. SYNOPSIS use DWH_File qw/ GDBM_File /; # the use argument set the DBM module used tie( %h, DWH_File, myFile, O_RDWR|O_CREAT, 0644 ); untie( %h ); # essential!...
23.55 KB  
Libraries  -  Net::Whois::RIPE 1.23
Net::Whois::RIPE is an object-oriented Perl library module that provides methods to query, retrieve, and update RIPE-157 formatted objects from whois servers that support this format. In particular, both the Asian and European Internet...
32.77 KB  
Libraries  -  RADIUS::Packet 1.0
RADIUS::Packet is an object-oriented Perl interface to RADIUS packets. SYNOPSIS use RADIUS::Packet; use RADIUS::Dictionary; my $d = new RADIUS::Dictionary "/etc/radius/dictionary"; my $p = new RADIUS::Packet $d, $data; $p->dump; if...
43.01 KB  
Libraries  -  Net::DRI 0.80
Net::DRI is a collection of object oriented Perl modules that provides an abstract and uniform interface to connect to domain name providers, either registries, registrars or an entity at another level. Thus Net::DRI can be used by a registrar...
 
Modules  -  Thematous 5.x-1.x-dev 1.0
Currently, the module is tied to the PHPTAL template engine in that a full thematous theme consists of a stylesheet, a set of PHPTAL macros and a block of PHP code to be put in a template.php file. The files necessary for a theme are stored under...
 
Programming  -  VOEvent 0.9
An object orientated Perl applications framework for dealing with VOEvent messages.
20.76 KB  
Development Tools  -  uapi 1.0
unified API (uAPI) provide an object oriented API for some programming language with the target to support implements same algorithm with same steps in different languages. It allows the programmers to use the favorit and best language without...
 
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB