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.237.671 Times

Software::Packager::Object 0.09

  Date Added: March 20, 2010  |  Visits: 794

Software::Packager::Object

Report Broken Link
Printer Friendly Version


Product Homepage
Download (96 downloads)



Software::Packager::Object is a generic object data storage. SYNOPSIS use Software::Packager::Object; This module is used by Software::Packager for holding data for a each item added to the a software package. It provides an easy way of accessing the data for each object to be installed. This module is designed to be easly sub classed and / or extended. SUB-CLASSING To extend or sub-class this module create a new module along the lines of package Foo; use Software::Packager::Object; use vars qw(@ISA); @ISA = qw( Software::Packager::Object ); ######################## # _check_data we dont care about anything other that DESTINATION and FOO_DATA; sub _check_data { my $self = shift; my %data = @_; return undef unless $self->{DESTINATION}; return undef unless $self->{FOO_DATA}; # now set the data for the object foreach my $key (keys %data) { my $function = lc $key; return undef unless $self->$function($data{$key}); } } ######################## # foo_data returns the foo value fo this object. sub foo_data { my $self = shift; return $self->{FOO_DATA}; } 1; __END__ Of course I would have created the module with a package of Software::Packager::Object::Foo but thats you choice..

Requirements: No special requirements
Platforms: Linux
Keyword: Data Foo Generic Libraries Module Object Programming Return Softwarepackagerobject
Users rating: 0/10

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


SOFTWARE::PACKAGER::OBJECT RELATED
Libraries  -  File::Data 1.12
File::Data is a Perl module as a interface to file data. Wraps all the accessing of a file into a convenient set of calls for reading and writing data, including a simple regex interface. Note that the file needs to exist prior to using this...
13.31 KB  
Libraries  -  Test::Data 1.20
Test::Data is a Perl module to test functions for particular variable types. SYNOPSIS use Test::Data qw(Scalar Array Hash Function); Test::Data provides utility functions to check properties and values of data and variables. Functions...
8.19 KB  
Libraries  -  Class::MakeMethods::Template::Generic 1.01
Class::MakeMethods::Template::Generic Perl module contains templates for common meta-method types. SYNOPSIS package MyObject; use Class::MakeMethods ( Template::Hash:new => [ new ], Template::Hash:scalar => [ foo ] Template::Static:scalar...
153.6 KB  
Libraries  -  Object::Relation::DataType 0.1.0
Object::Relation::DataType is a Perl module with complex data types for TKP. The Object::Relation::DataType name space is set aside for the creation of complex data types for TKP. By "complex" I mean serializable objects, such as dates,...
235.52 KB  
Libraries  -  Contextual::Return::Failure 0.1.0
Contextual::Return::Failure is a Perl module with a utility module for Contextual::Return. NOTE Contains no user serviceable parts. See Contextual::Return instead..
22.53 KB  
Libraries  -  Statistics::SPC 0.1
Statistics::SPC is a Perl module with calculations for Stastical Process Control (SPC). Creates thresholds based on the variability of all data, # of samples not meeting spec, and variablity within sample sets, all from training data. Note:...
11.26 KB  
Libraries  -  Math::BigInt::Calc 1.87
Math::BigInt::Calc is a pure Perl module to support Math::BigInt. SYNOPSIS Provides support for big integer calculations. Not intended to be used by other modules. Other modules which sport the same functions can also be used to support...
194.56 KB  
Modules  -  Module Object Oriented Programming API 6.x- 1.0
The oop syntax module must implement hook_boot().InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: - Drupal 6.x
 
Modules  -  Module Object Oriented Programming API 6.x- 1.0
The oop syntax module must implement hook_boot().InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: - Drupal 6.x
 
Libraries  -  perlfaq3 5.8.8
perlfaq3 Perl module contains programming tools. How do I do (anything)? Have you looked at CPAN (see perlfaq2)? The chances are that someone has already written a module that can solve your problem. Have you read the appropriate manpages?...
12.2 MB  
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