The docs recommend against using PREREQ_FATAL (thus allowing the Makefile to be created). I'm wondering how to determine when a required version is missing.
By default the failed dependencies are not caught (see below). So, I'm wondering how it's expected that the missing dependencies are detected. I have automated testing on internally written modules. A cron job detects a new version and does a checkout and runs Makefile.PL and the tests. I would expect that Makefile.PL would fail and I could report that. But, w/o PREREQ_FATAL that does not happen. $ h2xs -A --skip-exporter -b 5.8.8 -AX MyTest mose...@tiger:~/MyTest$ perl Makefile.PL Checking if your kit is complete... Looks good *Warning: prerequisite Foo 2.0 not found.* Writing Makefile for MyTest mose...@tiger:~/MyTest$ make cp lib/MyTest.pm blib/lib/MyTest.pm Manifying blib/man3/MyTest.3pm mose...@tiger:~/MyTest$ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/MyTest.t .. ok All tests successful. Files=1, Tests=1, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.03 cusr 0.00 csys = 0.06 CPU) Result: PASS How should those failed dependencies be detected? -- Bill Moseley [email protected]
