develooper Front page | perl.perl5.porters | Postings from March 2000

Re: [PATCH 5.6.0-RC1] more warnings tidy ups

Thread Previous | Thread Next
From:
Hugo
Date:
March 16, 2000 20:08
Subject:
Re: [PATCH 5.6.0-RC1] more warnings tidy ups
Message ID:
200003170414.EAA31827@crypt.compulink.co.uk
In <5104D4DBC598D211B5FE0000F8FE7EB2067FE5BB@mbtlipnt02.btlabs.bt.co.uk>,
paul.marquess@bt.com writes:
:> The only thing then that still slightly worries me (after trying a couple
:> of things) is this:
:> 
:> crypt% perl -w -Ilib test
:> Use of uninitialized value in addition (+) at lib/A.pm line 3.
:> Use of uninitialized value in addition (+) at lib/B.pm line 4.
:> crypt% 
:> 
:> .. and I don't understand why A::a warns but not C::c.
[...]
:It's nothing to do with warnings.  Put a "use strict 'subs'" in B.pm
:
:  Bareword "C::c" not allowed while "strict subs" in use at B.pm line 6. 

Dang, sorry for that.

Hugo

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About