in reply to Moo error message not understood

hi davies. You would normally keep your modules in a separate file, in this case 'Book.pm' in a directory 'Lib', and I think the documentation assumes that is the case. If you do that (and use Lib::Book; in your script) the problem will go away.