|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re^4: ExtUtils::MakeMaker, Makefile.PL: modify existing targets like "all" (as in make all) or "install"by bliako (Abbot) |
| on Sep 18, 2025 at 08:26 UTC ( [id://11166265]=note: print w/replies, xml ) | Need Help?? |
|
Oh I found something in ExtUtils::MM_Unix:
So, for example sub MY::c_o { "hello" } works but sub MY::all_target{ ... } does not. I ended up using all_targets(o) like this (note that I am using the 2nd method you mentioned, i.e. overriding by creating the MY package explicitly because I want access to the SUPER:
This works but I am absolutely not sure I have the order of the targets right.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||