surf wrote:
I'm not sure if I can override a method in a
class that someone else declared in PHP which is essentially how it
might have been done in Perl
When you are using PHP4, you can extend classes as you would do in Java:
class Foo extends Base {}
Afterwards, you can declare the methods you want to override, and leave out
the ones you want to use unchanged from the base class.
In PHP5, classes and methods can be declared final, which means that you
cannot extend/override them this way.
JW