Re: Objects within an Embperl page

2002-03-25 Thread Andrew O'Brien
On Mon, Mar 25, 2002 at 11:51:32PM +, Earwig wrote: > On Tue, 26 Mar 2002, Andrew O'Brien wrote: [snip] > I'm not mounting. Filesys::SmbClient appears to make a fresh SMB > connection each time one of its methods (open, opendir, unlink, mkdir, > etc) is called. Running outside of Apache/

Re: Objects within an Embperl page

2002-03-25 Thread Earwig
On Tue, 26 Mar 2002, Andrew O'Brien wrote: > On Mon, Mar 25, 2002 at 10:15:00PM +, Earwig wrote: > > > Do objects from outisde modules normally leave residue in the web server > > process? Is this just a problem with this module? Is there some way I > > can make sure the object is dead a

Re: Objects within an Embperl page

2002-03-25 Thread Andrew O'Brien
On Mon, Mar 25, 2002 at 10:15:00PM +, Earwig wrote: > Do objects from outisde modules normally leave residue in the web server > process? Is this just a problem with this module? Is there some way I > can make sure the object is dead and gone by the end of the web page? Is there a reason

Objects within an Embperl page

2002-03-25 Thread Earwig
I'm trying to make a set of pages to browse through directories on an SMB share. I grabbed the Filesys::SmbClient module from CPAN and set up a quick login-and-list-files test. Filesys::SmbClient works by creating a new object instance, which I do within the web page. The problem is, once

Re: Why no semicolon at the end of lines?

2002-03-25 Thread Axel Beckert - ecos gmbh
Hi! On Mon, Mar 25, 2002 at 01:40:53PM -0500, Kee Hinckley wrote: > At 7:19 PM +0100 3/25/02, Axel Beckert - ecos gmbh wrote: > >If it's 2.0b4 (but not 2.0b6 or later), try to set > > > > PerlSetEnv EMBPERL_EP1COMPAT 1 > > Right, I forgot that one. It should work. But only unti

Re: Why no semicolon at the end of lines?

2002-03-25 Thread Kee Hinckley
At 7:19 PM +0100 3/25/02, Axel Beckert - ecos gmbh wrote: >If it's 2.0b4 (but not 2.0b6 or later), try to set > > PerlSetEnv EMBPERL_EP1COMPAT 1 Right, I forgot that one. It should work. But still, I'd push the ISP to move to b7, then you both get what you want. (Assuming th

Re: Why no semicolon at the end of lines?

2002-03-25 Thread Kee Hinckley
At 3:02 PM + 3/25/02, Chris Allen wrote: >Our main ISP just upgraded their Embperl to 2.0b4 without telling >us - :-( Unfortunately, nearly all our code is in the form: > >[+ some_statememt(); +] > >so it breaks because of the semicolon. We have thousands of lines of web site >code that don't

Re: Why no semicolon at the end of lines?

2002-03-25 Thread Axel Beckert - ecos gmbh
Hi! On Mon, Mar 25, 2002 at 03:02:33PM +, Chris Allen wrote: > Subject: Why no semicolon at the end of lines? For speedup reasons there is only one statement allowed inside Embperl 2.x's [+ +] blocks. In Embperl 1.x, there was allowed more than one statement. > Our main ISP just upgraded th

Why no semicolon at the end of lines?

2002-03-25 Thread Chris Allen
Our main ISP just upgraded their Embperl to 2.0b4 without telling us - :-( Unfortunately, nearly all our code is in the form: [+ some_statememt(); +] so it breaks because of the semicolon. We have thousands of lines of web site code that don't work now! Is there an easy workaround (option???)

Re: PerlModule hell - questions and comments

2002-03-25 Thread Perrin Harkins
Kee Hinckley wrote: > At Embperl 2.0b6 Gerald switched to a new architecture. The previous > version was just a plain Perl module loaded as a handler by mod_perl. > This version is also an Apache module. Okay, if it's only in the recent betas then it's possible that only a few people have enc

Re: PerlModule hell - questions and comments

2002-03-25 Thread Perrin Harkins
Kee Hinckley wrote:> 1. *Why* are the apache config files executed twice (completely with > loading and unloading all the modules)? This is a core apache thing. Apache does it to verify that a restart is safe. See http://thingy.kcilink.com/modperlguide/config/Apache_Restarts_Twice_On_Start.