Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Warning from XML/Twig.pm : Use of uninitialized value in numeric eq (==)

by mirod (Canon)
on May 13, 2010 at 16:38 UTC ( #839866=note: print w/replies, xml ) Need Help??


in reply to Re: Warning from XML/Twig.pm : Use of uninitialized value in numeric eq (==)
in thread Warning from XML/Twig.pm : Use of uninitialized value in numeric eq (==)

weaken is normally found in Scalar::Util, so that's the only one that needs to be installed. A long time ago, at least on one version of RedHat, the system Scalar::Util package did not include weaken (the XS part of Scalar::Util, which provides weaken had been ommitted). I don't suppose that is the case here,

You can check by running this (replace ' by " on windows) :

perl -e'use Scalar::Util qw/weaken isweak/; use Test::More tests => 2; use strict; use warnings; my $foo; my $ref= \$foo; ok( ! isweak($ref), q{not weak}) ; weaken( $ref); ok( isweak($ref), q{weakened});'
  • Comment on Re^2: Warning from XML/Twig.pm : Use of uninitialized value in numeric eq (==)
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://839866]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2016-12-06 09:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.