Hi, All. I am a newbie in Perl programming. I have written a simple application and now I want to write a Makefile.PL, that can accomplish the following steps:
1. Check if the required package exists. If no, stop. 2. Copy bin, lib and doc directories to $PREFIX 3. Add $PREFIX/lib to @INC in the main program. I have read the docs of MakeMaker at cpan.org, as well as Module::Build. but it seems that my understanding is very limited. So I am wondering if there is any one can write a sample Makefile.PL for me? Any help or suggestion are greatly appreciated. Yu Wang