in reply to Moose error?

Probable you have some syntax error. In some cases (not yet detected when), in place of, for example undeclared variable error you are getting such error. example:
use # put all modules you are using # and only this line $testing; # this should repeat your error # # so start searching for misspelled variable