use if ($ENV{IN_APP_SERVER}), 'MyApp::SOAPClient::SAP'; use if ($^O ne 'MSWin32'), 'POSIX';