Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    SPOPS 0.20

    Download button

    No screenshots available
    Downloads: 407  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.6/5)
    3 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Chris Winters | More programs
    Perl Artistic License / FREE
    January 25th, 2008, 18:30 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    SPOPS description

    SPOPS is the Simple Perl Object Persistence with Security Perl module.

    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

      


    TAGS:

    Perl Object Persistence | Perl Object Security | Perl module | Perl | object | persistence

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM