Tho quote the documentation:
Scalar::Util contains both perl and C implementations of many of its functions so that those without access to a C compiler may still use it. However some of the functions are only available when a C compiler was available to compile the XS version of the extension.
Therefore, what you need is a C compiler installed and probably the perl header files (dev packets in your distribution or operating system?). Install that and then reinstall Scalar::Util.
In reply to Re: weaken is only available with the XS version
by cavac
in thread weaken is only available with the XS version
by prautt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |