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
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Can it do this? (Score:2)
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"?Reply to This
Re: (Score:1)
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