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

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

Serving Software Downloads in 976 Categories, Downloaded 32.389.175 Times

Class::ObjectTemplate 0.7

  Date Added: March 21, 2010  |  Visits: 719

Class::ObjectTemplate

Report Broken Link
Printer Friendly Version


Product Homepage
Download (71 downloads)



Class::ObjectTemplate is a Perl extension for an optimized template builder base class. SYNOPSIS package Foo; use Class::ObjectTemplate; require Exporter; @ISA = qw(Class::ObjectTemplate Exporter); attributes(one, two, three); # initialize will be called by new() sub initialize { my $self = shift; $self->three(1) unless defined $self->three(); } use Foo; $foo = Foo->new(); # store 27 in the one attribute $foo->one(27); # check the value in the two attribute die "should be undefined" if defined $foo->two(); # set using the utility method $foo->set_attribute(one,27); # check using the utility method $two = $foo->get_attribute(two); # set more than one attribute using the named parameter style $foo->set_attributes(one=>27, two=>42); # or using array references $foo->set_attributes([one,two],[27,42]); # get more than one attribute @list = $foo->get_attributes(one, two); # get a list of all attributes known by an object @attrs = $foo->get_attribute_names(); # check that initialize() is called properly die "initialize didnt set three()" unless $foo->three(); Class::ObjectTemplate is a utility class to assist in the building of other Object Oriented Perl classes. It was described in detail in the OReilly book, "Advanced Perl Programming" by Sriram Srinivasam..

Requirements: No special requirements
Platforms: Linux
Keyword: Attribute Attributes Classobjecttemplate For An Libraries Objecttemplate One Perl Programming Three Using
Users rating: 0/10

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


CLASS::OBJECTTEMPLATE RELATED
Sports  -  Elk Hunting MAX 1.1
Are you looking for example elk calls to mirror while learning to call? Looking for an all-in-one elk call for your next outing? Looking to increase your take without sinking a lot of cash into different game call equipment? If so, Elk Hunting MAX...
11.9 MB  
Sports  -  Hunting Lite 3.1.2
If you're looking for an all-in-one hunting application to make your next hunting excursion a success, Hunting Lite is for you! This application features: - A couple of game calls for deer, duck, elk, geese, predators (coyote, fox,...
66.3 MB  
Sports  -  Hunting Lite with Flashlight 1.1.2
If you're looking for an all-in-one hunting application to make your next hunting excursion a success, Hunting Lite with Flashlight is for you! This application features: - A couple of game calls for deer, duck, elk, geese,...
66.2 MB  
Utilities  -  Avian Parallel Computing 1.01.20111009
An exploration of parallel/concurrent programming techniques using a new metaphor: flocks of birds. Current method using lines of code is slow and error prone. Changing metaphor to flocks of birds will produce programs more easily and efficiently.
2.23 MB  
Libraries  -  Bio::Ontology::Relationship 1.4
Bio::Ontology::Relationship is a relationship for an ontology. SYNOPSIS $rel = Bio::Ontology::Relationship->new( -identifier => "16847", -subject_term => $subj, -object_term => $obj, -predicate_term => $pred ); This is a basic...
4.7 MB  
Libraries  -  OpenOffice::OODoc::Intro 2.032
OpenOffice::OODoc::Intro is a Perl module for an introduction to the Open OpenDocument Connector. The main goal of the Open OpenDocument Connector (OODoc) is to allow quick application development in 2 areas: - replacement of old-style,...
215.04 KB  
Libraries  -  libCIM 0.41
libCIM is a collection of Perl modules which serves as a basis for an implementation of the CIM (Common Information Model). libCIM provides classes which "mirror" corresponding CIM entities (such as CIM::Class, CIM::Instance) and an API for use...
82.94 KB  
Libraries  -  pyemf 2.0.0
pyemf is a pure python module that provides bindings for an ECMA-234 compliant vector graphics library. ECMA-234 is the published interface for the Windows GDI used in the Microsoft windows environment and, more importantly, natively supported...
184.32 KB  
Business  -  KickPIM 0.5.3
KickPIM is an applet for KDEs Kicker panel for an easy access to your addresses in KDEs addressbook. You can view and edit them, send emails, let it remind you about birthdays and more ... Whats New in This Release: E-Mailing: - Added MBox...
870.4 KB  
Utilities  -  Automated Linux From Scratch 2.2
Automated Linux From Scratch (ALFS) is a project that creates the generic framework for an extendable system builder and package installer. Why would I want to use ALFS? After having gone through the LFS and BLFS books more than 2 or 3 times,...
153.6 KB  
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 3.15.3
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