Eobj

Eobj is a Perl programming environment. Well, technically speaking, it's a Perl module. Eobj stands for Easy Objects.

Idea: Object oriented programming is supported very well in Perl, but it requires some rather advanced programming techniques: Perl modules and namespaces, references, blessings and some syntactic sugars. In addition, the awareness of some special variables is required.

Eobj is intended to bring object oriented programming to the layman Perl programmer's doorstep. "Object oriented for dummies", if you like. It supports an easy way to create classes, and a comfortable to handle object's properties (a.k.a. member variables). The code looks clean, and is easy to understand, even if you're not so good in Perl.

Most of the criticism I've gotten regarding Eobj is that I've done things differently from Java and C++. That only makes me feel better. Others claim that Eobj is not needed. Those who say that usually know more than ten ways to access a referenced hash. Most Perl programmers don't want to know what a reference is. And I understand them.

For someone who understands the basic principles of object oriented programming and "normal" Perl script programming, it should take no longer than 15 minutes before being able to get started. There are a few quite simple rules to follow, and off you are.

Almost all features of "classic" Perl OO programming is supported. The main cost of using Eobj is some overhead. But if you're worried about memory and speed, why are you using Perl?

Eobj is derived from the Perlilog project. In fact, Perlilog's object environment is very similar to Eobj's, there are minor differences. Eobj is intended as a general-purpose environment, while Perlilog's object environment is adapted to its certain purpose.

Eobj is released on CPAN, and can be downloaded from any of its mirrors. In particular, it's available at http://search.cpan.org/~billauer/ (you may browse the manual page at http://search.cpan.org/~billauer/Eobj-0.23/Eobj.pm)

Last modified on Thu May 17 17:30:00 2012. E-mail: