Because of its aromatic qualities, cubeb goes well with meat, cheese and vegetable dishes. It may be substituted for pepper in spice mixtures flavouring sausages, gingerbreads and spiced biscuits. In taste it has been described as tasting like allspice (pimento), or like a cross between allspice and black pepper.
People use cubebs for increasing urination to relieve water retention (as a diuretic). They also use it to treat a certain parasitic infection in the intestines called amoebic dysentery. Other uses include treatment of intestinal gas, gonorrhea, and cancer. ... In foods, cubebs oil is used as a flavoring ingredient.