in reply to Moose object construction

Did you have a look at MooseX::ConfigFromFile? You will have to implement the get_config_from_file method yourself, but getting data out of an XML-file should be easy.

Update: Even easier, MooseX::SimpleConfig uses Config::Any to turn your config file into Moose objects.

And as you know, Config::Any uses XML::Simple to read xml-based config-files.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James