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).
Ron
On Mon, 6 Nov 2000, ed phillips wrote:
> Ron,
>
> This is a greivous FAQ. Please read the guide at
> http://perl.apache.org/guide
>
> You'll find much more than this question answered.
>
> Ed
>
>
>
> Ron Rademaker wrote:
>
> > Hello,
> >
> > I'm just starting with mod_perl and I'm using Apache::Registry(). The
> > second line after #!/usr/bin/perl -w is use strict;
> > But somehow variables I use in the script are still defined if I execute
> > the script again, in one of the script I said undef $foo at the
> > end, but I don't think this is the way it should be done, but it did work.
> > Anyone knows what could be causing this??
> >
> > Ron Rademaker
> >
> > PS. Please CC to me because I'm not subscribed to this mailinglist
>