I've yet to see a single module where it makes sense for it to be generated before the user tries to install it -- the author is supposed to do that before he uploads the distribution
See Linux::NFS::BigDir.
But, here's the secret, MyModuleGenerator(); WriteMakefile...
That will not work: I have declared prereqs that I need to generate the module. After Makefile.PL is executed, I should have them available and then the related code requires to have constant from C header files, which I can't (easily) figure out where they are (h2ph doesn't work properly).
So, short long story, I can't have Makefile.PL doing that for me (can't use or require something that is declared as a prereqs and is still not available).
I tried using the .PL file, but it is not generating the module (output) as implied here and it's running after the pm_to_lib.
I'm starting considering using Module::Build instead...
In reply to Re^2: How to properly use ExtUtils::MakeMaker PL_FILES attribute?
by glasswalk3r
in thread How to properly use ExtUtils::MakeMaker PL_FILES attribute?
by glasswalk3r
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |