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

    Eobj 0.23

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Eli Billauer | More programs
    Perl Artistic License / FREE
    January 13th, 2008, 20:41 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Eobj description

    Eobj is an Easy Object Oriented programming environment.

    Eobj is an Easy Object Oriented programming environment.

    SYNOPSIS

    use Eobj;

    # define the 'myclass' class
    inherit('myclass','myclass.pl','root');

    init; # Always init before creating objects

    # Now create an object, and put the handle in $object
    $object = myclass->new(name => 'MyObject');
    $object->mymethod('hello'); # Call the 'mymethod' method

    # Access some properties...
    $object->set('myscalar', 'The value');
    $scalar = $object->get('myscalar');

    $object->set('mylist', 'One', 'Two', 'Three');
    @list = $object->get('mylist');

    %hash = ('Foo' => 'Bar',
    'Daa' => 'Doo');
    $object->set('myhash', %hash);
    %the_hash = $object->get('myhash');

    # Dump some debug information
    globalobj->objdump();

    Eobj is OO in Perl for the masses. It makes it possible to write complete OO scripts with plain Perl syntax (unlike classic OO-Perl). And like plain Perl, the syntax usually means what you think it means, as long as things are kept plain.

    Eobj doesn't reinvent Perl's natural OO environment, but is a wrapper for it. The real engine is still Perl.

    This man page is enough to get you going, but not more than that. If deeper understanding is needed, the documentation, which can be found in the Eobj Programmers guide, eobj.pdf (PDF format), is the place to look. The PDF file should come along with the module files.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Object Oriented | programming environment | Perl module | Object-Oriented | programming | environment

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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