On Friday, Jun 27, 2003, at 07:22 US/Pacific, Daniel J. Rychlik wrote:


Thank you sir for the response, I will have a look. I love programming in
perl, but Im getting used to the idea of developing class objects and
instances in PHP.


class thisclass {

}

class otherclass extends thisclass {

}

Object oriented programming is a great way to reuse code.

you might want to do


perldoc perl

to start with and pay attention to

        perldoc perlboot
                        perlobj

etc....

the class hierachy model is different in perl.

From a specific class extension that I have

        package Wetware::Hq::Web::RCI;  
        .....
        use Wetware::RCI;
        ....
        our @ISA = qw(Wetware::RCI);
        .....

this way when i do things like

my $rci = new Wetware::Hq::Web::RCI;

it inherits all the song and dance of the base class...



ciao
drieux

---


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



Reply via email to