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!
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link
or How to display code and escape characters
are good places to start.