Class data preloading modules

2001-11-23 Thread Adriano Nagelschmidt Rodrigues
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

Re: High-volume mod_perl based ecommerce sites?

2000-05-26 Thread Adriano Nagelschmidt Rodrigues
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

Books, was Re: High-volume mod_perl based ecommerce sites?

2000-05-26 Thread Adriano Nagelschmidt Rodrigues
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