Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • One major problem we have had in the past is with Scalar::Util [cpan.org], which has 2 modes: XS mode, and PP mode. The latter did not include the functionality to create weak references, and it was the version that PPM installed. Often, that was precisely the functionality we needed the module for... Yet, the version number of Scalar::Util [cpan.org] was the same for both... Just requiring a high enough version number for the module did not do any good.

    Can your extension detect that? "We need Scalar::Util [cpan.org] so and so and it has to include weaken"?

    • You have two solutions for this:
      1. (best) Add Task::Weaken [cpan.org] to BUILD_REQUIRES (or to PREREQ_PM if you don't use eumm-upgrade)
      2. (new solution, may be better with ppm4) Depend on List::Util::XS