Hi,
I have some modules that use the idiom
package Foo;
use Bar;
{
my $bar = Bar->new(args);
sub bar { return $bar }
}
which works fine until one tries to preload them in startup.pl.
I realized that, by preloading, I was innocently sharing the same DBI
object between Apache children (not
Ronald Schmidt writes:
> The full warning message on our system (Solaris, Apache 1.3.3, mod_perl
> 1.21?, perl 5.005_02) is:
>
> [Tue Jun 13 17:37:25 2000] null: Use of uninitialized value at
> /usr/local/lib/perl5/5.00502/CGI/Cookie.pm line 70.
Hi,
I see this too. In my case I think Netscape's
Neil Conway writes:
> I'm probably a novice programmer, at least by the standards of
> most of the people on this list. I'm 16, and since I haven't taken
> Computer Science at university yet, I'm a bit lacking in 'formal
> programming education'. I'd rather not form bad habits - is there
> any adv
Randal L. Schwartz writes:
[snip]
> Or, I hesitate to say this here, but it's accurate: try Python.
> Decent object model... just an overly verbose syntax and that horrific
> "you must indent your code the way Guido wanted or Guido will make a
> visit to your house" indenting style.
What about