I found a solution from another user on another forum:
Sixtoes:
There's a function OtherClickHandlers(button, unitid) (starting @ 32 un-edited Xperl.lua)
Original:
local function OtherClickHandlers(button, unitid)
if (CastParty and CastParty.Event) then
To make XPerl work with Clique modify it this way (add 3 lines in between):
local function OtherClickHandlers(button, unitid)
if (Clique) then
Clique:OnClick(button, unitid)
end
if (CastParty and CastParty.Event) then
This is a solution I found myself, not sure if it works as I haven't tried myself yet.
I advise you to make a backup .lua file before changing anything