On Tuesday, Sep 17, 2002, at 03:08 US/Pacific, [EMAIL PROTECTED] wrote:
[..]

first off the OO v. Proceduralist debate is a bit of a
red herring. There are strengths and weaknesses to both.
An elegantly designed OO Class/sub_classing is a beauty,
but a badly implemented structure is a PAIN.

> I have some
> knowledge of Object Oriented Programming in Java.
>
> Which aspect of perl should I begin with? Perl Mod, OOP??? etc.
> Your opinions will be appreciated.
[..]

A part of the problem is

        what are you planning to use your Perl Code to do?

One of the strongest aspects of Perl is it's Regular
Expression component - so you will at sometime wish
to delve into that part.

One of the first things you will want to know is

        perldoc perl

where you can start finding perl's internal documentation
and that much of what you will finally need to read about
is already in the POD - plain old documentation that
comes with perl, and the various modules.

There are some tutorials in that which you can also
work your way through.

Once you master the basic data types, and how they
work - as well as the fact that in perl5 SUPER is
a psuedo class - then it's rather an open game.

There are times when it is 'simpler' to go with
perl's OO approach and make perl modules that are
well defined within the classic OO model. There are
also times when being able to simply 'code it up'
in a straight linear sequence of commands is just
simpler and easier to 'solve the problem'.

The big advantage you get by playing in Perl is
that you have this 'either/or' approach - and can
let the problem help define which you need to take.

Unlike Java, C, C++, you do not need to go through
the 'compile' side adventure to get something that
will be able to execute.

You will of course want to ultimately feel at home
with creating perl modules - so you will of course
want to feel at home with

        h2xs

cf perldoc h2xs

which allows you to build out both 'pure perl'
modules - as well as perl wrapper classes on
existing modules.


ciao
drieux

---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to