Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2015-07-28 02:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (251 votes), past polls