in reply to package & class problem

If it's a method, feat::mymethod() would be wrong. That would call it as a function.

If it's a class method, feat->mymethod();
If it's an instance method, $obj->mymethod();