in reply to undefined subroutine &main

Is getRemoteProcessIds allowed to import by default? Check that in Upd::Common::System module. If it not allowed by default then change your use statement to use Upd::Common::System qw(getRemoteProcessIds);