----- Original Message ----- From: "Hoang-Anh Phan" <[EMAIL PROTECTED]>
.
.
And this is working fine, so dualvar seems to be available. Why doesn't
it complain about the XS version in this case? I have Scalar::Util 1.18.
Is it possible that another version is used when installing PAR::Packer?

I think it must be that another (pure perl) build of Scalar::Util is being found - though I don't know just where, when, why and how this happens. (I'm somewhat out of touch with PAR these days.)

One thing does puzzle me:
How does the code 'use Scalar::Util qw(dualvar);' result in the error message you're seeing ?
If dualvar is not available, then I would expect to simply see the message:

"dualvar" is not exported by the Scalar::Util module

I wouldn't expect to see that diagnostic that tells you why "dualvar" is not being exported.

(I haven't done any digging around to try and solve that puzzle. Perhaps Compress::Zlib or Scalar::Util has some mechanism in place that provides the additional information.)

Cheers,
Rob

Reply via email to