in reply to Re^3: Problems installing Devel::Cover on Strawberry, seems to work on Cygwin
in thread Problems installing Devel::Cover on Strawberry, seems to work on Cygwin
That did not work. Devel::Cover unsurprisingly needs access to the symbols during both build and run time. Tried it with a 5.8.8 because that's my existing installation with lots of modules I don't care to reinstall.
Instead I patched the current installation by building a Perl 5.8.8 with the exported symbols, and then:
cp perl58.dll \strawberry-perl\perl\bin\ cp lib\CORE\libperl58.a \strawberry-perl\perl\lib\CORE\
This is clearly a hack, not a long-term solution.
What that solution is I don't know. But I imagine either
- officially promote those symbols to be public, since such an important module as Devel::Cover rely on them, or;
- create an interface to allow Devel::Cover to instrument/inspect the internals the way it clearly needs to do to work its magic.
Damn, that was a lot of yak shaving to start doing interesting things!
/J
|
---|
In Section
Seekers of Perl Wisdom