in reply to Re: Win32 Perl-Critic Setup Question
in thread Win32 Perl-Critic Setup Question

Hi Ikegami,

Many thx for the info.

When running the line you provided I get:

perl -e"use Scalar::Util qw( weaken ); weaken \$a"
Weak references are not implemented in the version of perl at -e line 1
BEGIN failed--compilation aborted at -e line 1.

How do you advise to compile Scalar::Util? I'm not so familiar with this.

Many thanks!
ddn123456

Replies are listed 'Best First'.
Re^3: Win32 Perl-Critic Setup Question
by ddn123456 (Pilgrim) on May 29, 2008 at 09:49 UTC
    Hi,

    Just did the compile procedure with "Scalars::Utils":
    - perl Makefile.PL
    - make
    - make test
    ....t\dualvar.......skipped
    ....all skipped: dualvar requires XS version
    ....t\first.........ok
    ....2/17 skipped: Poor man's MULTICALL can't cope
    ....t\isvstring.....skipped
    ....all skipped: isvstring requires XS version
    ....t\proto.........skipped
    ....all skipped: set_prototype requires XS version
    ....2/23 skipped: Poor man's MULTICALL can't cope
    ....t\weak..........skipped
    ....all skipped: weaken requires XS version
    ....All tests successful, 4 tests and 4 subtests skipped.
    ....Files=35, Tests=331, 3 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)

    - make install
    However afterwards the error remains.

    How should I tackle this?

    Thx!
    ddn123456
      all skipped: weaken requires XS version
      Install a compiler, then try again, or grab from PPM