SPOPS is the Simple Perl Object Persistence with Security Perl module.
SYNOPSIS
# Define an object completely in a configuration file
my $spops = {
myobject => {
class => 'MySPOPS::Object',
isa => qw( SPOPS::DBI ),
...
}
};
# Process the configuration and initialize the class
SPOPS::Initialize->process({ config => $spops });
# create the object
my $object = MySPOPS::Object->new;
# Set some parameters
$object->{ $param1 } = $value1;
$object->{ $param2 } = $value2;
# Store the object in an inherited persistence mechanism
eval { $object->save };
if ( $@ ) {
print "Error trying to save object: $@n",
"Stack trace: ", $@->trace->as_string, "n";
}
Product's homepage
Requirements:
· Perl