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.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    OOP 1.01

    Download button

    No screenshots available
    Downloads: 463  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.1/5)
    18 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Milan Adamovsky | More programs
    Perl Artistic License / FREE
    May 30th, 2008, 03:28 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    OOP description

    OOP is a Object Oriented Programming class.

    OOP is a object-oriented programming class.

    SYNOPSIS

    # Illustrates how to define a prototype, how the
    # parameters are passed, and how to access the
    # processed parameters.

    use OOP;

    # These are the parameters normally passed
    # to a class using OOP.pm.

    my $classPrototype = {
    one => 1,
    two => 2,
    three => {
    hi => {
    dataType => 'hash',
    allowEmpty => 0,
    maxLength => 3,
    minLength => 1,
    readAccess => 1,
    required => 1,
    value => {
    bye => '',
    ebye => {
    dataType => 'scalar',
    allowEmpty => 0,
    maxLength => 8,
    minLength => 1,
    readAccess => 0,
    required => 0,
    value => '',
    writeAccess => 1
    }
    },
    writeAccess => 1
    }
    }
    };

    # These are the parameters normally passed
    # to a class using OOP.pm.

    my $objectProperties = {
    one => 1,
    two => 2,
    three => {
    hi => {
    bye => '12345678'
    }
    }
    };

    my $obj = OOP->new({
    ARGS=> $objectProperties,
    PROTOTYPE => $classPrototype
    });


    print $obj->{PROPERTIES}->{three}{hi}{bye} . "n";
    print $obj->getProperty($obj->{PROPERTIES}->{three}{hi}{bye}) . "n";


    ABSTRACT

    This class is intended to complement Object Oriented Programming ("OOP") development by offering solutions to common problems in the OOP world. If not problems then this class will also attempt to facilitate various OOP related tasks and ensure that various conventions are followed, where possible. It provides a developer with various methods that enforce uniform OOP conventions and ensure sound OOP development in PERL.

    Simply stated, this class attempts to take out as much of the OOP overhead for the developer as possible while at the same time allowing a developer to write more robust applications.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    object-oriented programming | programming class | Perl module | object-oriented | programming | Perl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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