Just tried, it didn't give me any useful information, I always got any
other warning without PerlWarn on, so I don't think it made any
difference. Anyway, even with PerlWarn on, the error.log still shows
exactly the same output, everything goes well for a while, but then
suddenly my defined($foo) check succeeds where it should have failed, but
the old value is gone.
Ron
On Tue, 7 Nov 2000 [EMAIL PROTECTED] wrote:
> On Tue, 7 Nov 2000, Ron Rademaker wrote:
>
> Hi,
>
> > You would think so, however every doc I read (including the one you
> > pointed out to me) told me that perl gives me a warning:
> >
> > Variable $foo will not stay shared at ....
> >
> > I do use -w so I should get that warning, but I don't. The variable stays
> > defined, but it doesn't have the value of the old variable, it just passes
> > the defined($foo) test but the value has changed to an empty array (from a
> > full array).
>
> -w has no effect, read the guide again and use PerlWarn On :-)
>
> Bye,
> remco
>
> /----------------------------------------------------------------------\
> | Remco Schaar |
> | e-mail: [EMAIL PROTECTED] |
> \----------------------------------------------------------------------/
>
> South Park meets Linux:
> - "Oh my God, they killed init!"
> - "You bastards!"
>