>>>>> "Hugh" == Hugh S Myers <[EMAIL PROTECTED]> writes:

Hugh> To answer the last, first, "make test" fails unless the script
Hugh> is run. What I don't know is the "hook the execution of the
Hugh> script into" part, at least not in terms of Makefile.PL.

So, it needs to be an additional "make all" part, which precedes a
"make test".  According to ExtUtils::MakeMaker, after applying my secret
Ilya/Andy/Andreas/Tim decoder ring:

sub MY::postamble { <<'EXTRA';
all: running-my-perl-thing
running-my-perl-thing: FORCE
        $(PERL) my/script.pl
FORCE:
EXTRA
}

That'll get added to the Makefile, and then a "make all" will ensure
that your Perl thing gets run.

warning - this is just from reading the docs.  I might have this all
wrong.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Reply via email to