The code there doesn't seem to do a
require to get
the module.
Thus, the function doesn't exsit at that point.
You could add a
use Engine::PubUtils;
to the top of the script, or maybe
modify the script to auto-require the module the
function is in, and then trying it.
Of course, it probably still won't work if the
module in question autoloads that function.