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
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
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 advice