use Win32::API; #start up # Win32::API->Import("wsp", "int InitWasp()"); Win32::API->Import("wsp", "int SetOutputs(int a)"); #how functions are called # InitWasp(); SetOutputs(1);