package Car::IFactory; use Class::Interface; interface; sub createCar; # this is the interface method 1;