Main > Programming > Libraries >

Object::InsideOut 3.17

Object::InsideOut 3.17

Sponsored Links

Object::InsideOut 3.17 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.010 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 890
Date added: 2007-05-18
Publisher: Jerry D. Hedden

Object::InsideOut 3.17 description

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

Object::InsideOut 3.17 Screenshot

Advertisements

Object::InsideOut 3.17 Keywords

Bookmark Object::InsideOut 3.17

Hyperlink code:
Link for forum:

Object::InsideOut 3.17 Copyright

WareSeeker periodically updates pricing and software information of Object::InsideOut 3.17 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 Object::InsideOut 3.17 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Class::InsideOut is a Perl module with a safe, simple inside-out object construction kit. Free Download
Object::Declare is a Perl module for declarative object constructor. Free Download
Object::Trampoline is a Perl module for delay object construction. Free Download
Object::Transaction is a virtual base class for transactions on files containing serialized hash objects. Free Download
Object::Mediator is a generic object persistence framework. Free Download
Object::LocalVars is a Perl module with outside-in objects with local aliasing of $self and object variables. Free Download
Games::Object is a Perl module to provide a base class for game objects. Free Download
Basset::Object::Persistent is a subclass of Basset::Object that allows objects to be easily stored into a relational database. Free Download