use strict; use warnings; use Module::Build; my $builder = Module::Build->new( module_name => 'Agent-TCLI', license => 'perl', dist_author => 'Eric Hacker ', dist_abstract => 'Transactional Contextual Line Interface Agent', dist_version_from => 'lib/Agent/TCLI.pm', requires => { 'Data::Dump' => '0', # 'TimeDate' => '1.16', 'Date::Parse' => '1.16', 'File::ShareDir' => '0.05', 'FormValidator::Simple' => '0', 'Getopt::Lucid' => '0.16', # 'Scalar::List::Utils' => '1.18', 'Scalar::Util' => '1.18', 'Module::Build' => '0', 'Net::Jabber' => 'undef', 'Net::XMPP' => '1.02', 'NetAddr::IP' => '3', 'Object::InsideOut' => '3.07', 'POE' => '0.9', 'POE::Component::Child' => '0', 'Test::Simple' => '0.62', 'XML::Simple' => '0', 'YAML::Syck' => '0', }, create_makefile_pl => 'passthrough', ); # This will cause it to pick up XML files $builder->add_build_element('xml'); $builder->create_build_script();