Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 2014-07-29 05:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls