Software::Packager::Object 0.09
Sponsored Links
Software::Packager::Object 0.09 Ranking & Summary
File size:
0.021 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1018
Date added:
2007-01-09
Publisher:
R Bernard Davison
Software::Packager::Object 0.09 description
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.
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.
Software::Packager::Object 0.09 Screenshot
Advertisements
Software::Packager::Object 0.09 Keywords
Object 0.09
DATA
FOO
Object data
generic object
data storage
object
module
storage
Self-
0.09
generic
Software::Packager::Object
SoftwarePackagerObject
Software::Packager::Object 0.09
Libraries
Bookmark Software::Packager::Object 0.09
Software::Packager::Object 0.09 Copyright
WareSeeker periodically updates pricing and software information of Software::Packager::Object 0.09 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 Software::Packager::Object 0.09 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
object dock
object lessons
online data storage
hidden object games
objectives for resumes
data storage devices
objective
hl data storage
object desktop
sample resume objectives
data storage technology
data storage device
objection
data storage solutions
object relations theory
myspace falling objects
objectdock
object pronouns
Related Software
Software::Packager is a common software packaging interface. Free Download
Software::Packager::Object::Aix module it extends Software::Packager::Object and adds extra methods for use by the AIX packager. Free Download
Software::Packager provides a common interface for the creation of platform specific software installation packagers. Free Download
Software::Packager::Tar is used to create tar files with the required structure. Free Download
Ace::Object is a Perl module to manipulate Ace Data Objects. Free Download
Flash::FLAP::Object is a Perl module translated from PHP Remoting v. 0.5b from the -PHP project. Free Download
File::Basename::Object is a Perl module with object-oriented syntax sugar for File::Basename. Free Download
Color::Object is a OO-Color Module. Free Download
Latest Software
Popular Software
Favourite Software