[p4perl] Problems inheriting from P4

Tony Smith tony at smee.org
Wed Feb 9 08:44:01 PST 2005

On Wednesday 02 February 2005 16:49, Eleftherios.Kororos at symbian.com wrote:
> Thanks for your prompt reply anyway, and it would be useful to know when
> (and if) the API gets implements as a hashref.

Folks, I just submitted change 4831 which implements this request. It should 
now be trivial to subclass P4 using code something like this:

use P4;
package MyP4;
our @ISA = qw( P4 );

sub new( $ )
    my $class = shift;
    my $self = new P4;
    bless( $self, $class );
    return $self;

Let me know if you have any problems with it.


More information about the p4perl mailing list