Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Win32 Perl-Critic Setup Question

by ikegami (Patriarch)
on May 29, 2008 at 09:15 UTC ( [id://688984]=note: print w/replies, xml ) Need Help??


in reply to Win32 Perl-Critic Setup Question

Your Scalar::Util needs to be recompiled.

That's odd, cause the one I have with ActivePerl 5.8.0 and ActivePerl 5.8.8 works:

>c:\progs\perl580\bin\perl -e"use Scalar::Util qw( weaken ); weaken \$ +a" >c:\progs\perl588\bin\perl -e"use Scalar::Util qw( weaken ); weaken \$ +a"

Replies are listed 'Best First'.
Re^2: Win32 Perl-Critic Setup Question
by ddn123456 (Pilgrim) on May 29, 2008 at 09:28 UTC
    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
      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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://688984]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2025-12-16 19:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (97 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.