Make stepper motors work in perl