in reply to Cannot subclass Gearman::XS::Client
Not all modules will do it this way, and will bless into some constant class name. That appears to be what is happening. You can try filing a bug report (hopefully with a patch) that the module cannot be sub-classed, or you can make your library a delegator instead of a parent class.sub new { my $class = shift; bless {}, $class; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Cannot subclass Gearman::XS::Client
by incubusaurus (Initiate) on Jul 24, 2014 at 20:23 UTC |