in reply to Re^2: Conditionally faking a module
in thread Conditionally faking a module

The code being executed by eval ("") returns nothing (()), which is indistinguishable from the value eval returns on failure.

You need

eval "use Cava::Pack; 1"