http://www.perlmonks.org?node_id=999441


in reply to No '_p4client_ptr' member found in P4 object

Where does this error message come from? It doesn't look like an error message from perl, so I'm guessing it's a message coming from P4, the base class. Have you looked at that code to see why it's throwing an error?

By the way, $self->SUPER::new() isn't going to do what you think it is. I'm not sure what the right answer is, but if you're using the same design point as in P4, then you might mean $self->SUPER::init(@_); instead. Again, I'd have to see P4 ... and I'd also have to learn Class::MethodMaker.