use ExtUtils::MakeMaker; use 5.006; use strict; # this line causes a 0 byte Makefile eval 'use APR::UUID;'; # These doesn't work either: # eval 'require APR::UUID'; # eval {require APR::UUID}; # use APR::UUID; WriteMakefile( NAME => 'Handel', VERSION_FROM => 'lib/Handel.pm', AUTHOR => 'Christopher H. Laco ', ABSTRACT => 'Simple ecommerce framework with AxKit support', PREREQ_PM => { 'Class::DBI' => '0.96', 'DBI' => '1.36', 'Error' => '0.14', 'Locale::Maketext' => '1.06', 'Module::Pluggable' => '2.95', 'Path::Class' => '0', }, (ExtUtils::MakeMaker->VERSION >= 6.11) ? (NO_META => 1) : (), dist => { PREOP => 'pod2text lib/Handel.pm > $(DISTVNAME)/README', }, test => { TESTS => join ' ', (glob("t/*.t"))} ); #### perl -e 'use APR::UUID;print APR::UUID->new->format;'