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 29.547.170 Times

Object::InsideOut 3.17

  Date Added: March 23, 2010  |  Visits: 575

Object::InsideOut

Report Broken Link
Printer Friendly Version


Product Homepage
Download (70 downloads)



Object::InsideOut is a comprehensive inside-out object support module. SYNOPSIS package My::Class; { use Object::InsideOut; # Numeric field # With combined get+set accessor my @data :Field :Type(numeric) :Accessor(data); # Takes INPUT (or input, etc.) as a mandatory parameter to ->new() my %init_args :InitArgs = ( INPUT => { Regex => qr/^input$/i, Mandatory => 1, Type => numeriC, }, ); # Handle class-specific args as part of ->new() sub init :Init { my ($self, $args) = @_; # Put input parameter into data field $self->set(@data, $args->{INPUT}); } } package My::Class::Sub; { use Object::InsideOut qw(My::Class); # List field # With standard get_X and set_X accessors # Takes INFO as an optional list parameter to ->new() # Value automatically added to @info array # Defaults to [ empty ] my @info :Field :Type(list) :Standard(info) :Arg(Name => INFO, Default => empty); } package Foo; { use Object::InsideOut; # Field containing My::Class objects # With combined accessor # Plus automatic parameter processing on object creation my @foo :Field :Type(My::Class) :All(foo); } package main; my $obj = My::Class::Sub->new(Input => 69); my $info = $obj->get_info(); # [ empty ] my $data = $obj->data(); # 69 $obj->data(42); $data = $obj->data(); # 42 $obj = My::Class::Sub->new(INFO => help, INPUT => 86); $data = $obj->data(); # 86 $info = $obj->get_info(); # [ help ] $obj->set_info(qw(foo bar baz)); $info = $obj->get_info(); # [ foo, bar, baz ] my $foo_obj = Foo->new(foo => $obj); $foo_obj->foo()->data(); # 86.

Requirements: No special requirements
Platforms: Linux
Keyword: Data Foo Info Input Insideout Libraries New Object Objectinsideout Package Programming
Users rating: 0/10

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


OBJECT::INSIDEOUT RELATED
Libraries  -  AudioFile::Info::MP3::Info 1.03
AudioFile::Info::MP3::Info is a Perl extension to get info from MP3 files. This is a plugin for AudioFile::Info which uses MP3::ID3Lib to get data about MP files. See AudioFile::Info for more details. METHODS new Creates a new object of...
54.27 KB  
Code Management Tools  -  Virgil B-03
Virgil projetc is an new, object-oriented, light-weight programming language that is designed for building software for resource-constrained embedded systems at the lowest level. Microcontroller programmers can now develop complete software...
583.68 KB  
Libraries  -  OOPS 0.2003
OOPS is Object Oriented Persistent Store. SYNOPSIS use OOPS; transaction(sub { $oops = new OOPS dbi_dsn => $DBI_DSN, username => $username, password => $password, table_prefix => "MY"; $oops->commit; $oops->{my_1st_bit_of_data} = a...
296.96 KB  
Libraries  -  minihuff 1.0
minihuff is a data compression library with a simple new twist on Huffman coding. Instead of storing the frequency analysis for some set of data with the data itself, minihuff enables the creation of a static frequency table to be stored at both...
 
Libraries  -  iCalcreator 2.2.6
iCalcreator is a PHP tool för producing iCal formatted files, used by non-calendar systems like CMS, project systems and other systems able to produce calendar information like agendas, tasks, reports, totos, journaling data and for input to...
276.48 KB  
Miscellaneous  -  A queue for string data 1.0
This script is a queue data structure, for string data only, which looks like a File object. This class takes care of the list.append and .join mess, which is needed for fast string concatenation.
 
Libraries  -  Daolite for .NET 1.12
Make the creation and usage of Data Access Objects as easy as ABC Daolite is a powerful Data Access library that bridges between the object world and the world of relational databases. Your business model components can access the Data Access...
1.01 MB  
Libraries  -  PostScript::Graph::Style 1.02
SYNOPSIS Simplest Each time a new object is created the default style will be slightly different. use PostScript::File; use PostScript::Graph::Style; my $file = new PostScript::File(); my $seq = new PostScript::Graph::Sequence(); while...
55.3 KB  
Libraries  -  Set::Infinite 0.61
Set::Infinite Perl module contains sets of intervals. SYNOPSIS use Set::Infinite; $set = Set::Infinite->new(1,2); # [1..2] print $set->union(5,6); # [1..2],[5..6] Set::Infinite is a Set Theory module for infinite sets. A set is a...
49.15 KB  
Libraries  -  MP4::Info 1.11
MP4::Info is a Perl module that can fetch info from MPEG-4 files (.mp4, .m4a, .m4p, .3gp). SYNOPSIS #!perl -w use MP4::Info; my $file = Pearls_Before_Swine.m4a; my $tag = get_mp4tag($file) or die "No TAG info"; printf "$file is a %s...
133.12 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
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  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB