Re: Problems when using require or modules..

2003-03-25 Thread Stefan Cars
I've made it an object but when doing this it just works for the first request to the server not the following 10-12 times then i works again and then it stops working 10-12 times. I guess this has something todo with the different httpd processes How should I do this instead ? Is it p

Re: Problems when using require or modules..

2003-03-15 Thread Gerald Richter
> I have read that FAQ, but the source havn't changed! > Yes, but the problem is the same. You include mylib.pl in multiple embperl pages. Each Emperl page runs in it's own namespace and the lib is compiled in the namespace of the page where it is first required. The second page will not reload

Re: Problems when using require or modules..

2003-03-04 Thread Stefan Cars
My source hasn't changed... that's the thing! Gerald Richter wrote: I have problems running latest stable and development version of Embperl when doing a require 'mylib.pl'; in the beginning of each embperl HTML file. What happens is that my own subroutines (Defined in mylib.pl) is sometimes work

Re: Problems when using require or modules..

2003-03-04 Thread Gerald Richter
> > I have problems running latest stable and development version of Embperl > when doing a require 'mylib.pl'; in the beginning of each embperl HTML > file. What happens is that my own subroutines (Defined in mylib.pl) is > sometimes working sometimes not.. I get the strange error: > > [Tue Mar 4