Re: accessing filehandle from subroutines

2001-10-31 Thread Gerald Richter
> Is the special Embperl filehandle "LOG" accessible to external subroutines > called in embperl pages? (I hope this isn't too elementary a question.) > Yes, but you have to give the full package name, because your module runs in another namespace: print HTML::Embperl::LOG Gerald --

Re: Any way to allow only 'partial' inheritance

2001-10-31 Thread Gavin Carr
Hi Sean, Something I've found useful in vaguely similar situations is to do your base.epl Execute with an 'output' argument, which stuffs it all into a scalar for you instead of outputting it directly. You can then check whether the include is a full html page or just a fragment and munge appropr

Re: Trying to get sessions to work with windows 2000.

2001-10-31 Thread Randy Kobes
On Wed, 31 Oct 2001, Hans de Groot wrote: > but before (first start ppm and then use set repository etc) I > could search for session and then said install apache-session it > failed with that message.. strange this works.. but I am happy :-) That's great that it works ... I think to set up

sessions are working now!

2001-10-31 Thread Hans de Groot
Hi, Sessions are working now. I used: apache_1.3.22-win32-x86.msi ActivePerl-5.6.1.629-MSWin32-x86-multi-thread.msi and installed several pacheges (ie embperl apache session dbi dbd etc...) via ppm and it is working now I can see my site and sessions are actually doing what they should do. but

Re: Trying to get sessions to work with windows 2000.

2001-10-31 Thread Hans de Groot
Hi, I tied what you said and gues what.. it worked!! do not ask me why coz tonight is the first time I use ppm.. I did this: ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/Apache-Session.ppd and it's installed now. but before (first start ppm and then use set repository etc) I coul

Re: Trying to get sessions to work with windows 2000.

2001-10-31 Thread Randy Kobes
On Wed, 31 Oct 2001, Hans de Groot wrote: > Hi and thanks for the tip. > > I re installed active state perl and installed some packages (embperl 1.3.3) > now I wanted to install apache session 1.53 from the url you gave me and > I got this message: > > Packages available from http://theoryx5.uwin

Re: Trying to get sessions to work with windows 2000.

2001-10-31 Thread Hans de Groot
Hi and thanks for the tip. I re installed active state perl and installed some packages (embperl 1.3.3) now I wanted to install apache session 1.53 from the url you gave me and I got this message: Packages available from http://theoryx5.uwinnipeg.ca/ppmpackages/: Apache-Session [1.53] A persist

Any way to allow only 'partial' inheritance

2001-10-31 Thread Sean Ahern
Greetings, I'm about to implement a small intranet-type project that I've already testbedded with Apache/Embperl. I'm much of a lighweight dabbler in Perl, but there's nothing amazingly complex required at the moment. The Embperl code already does most of what it needs to do at the m

accessing filehandle from subroutines

2001-10-31 Thread Michael Boudreau
Is the special Embperl filehandle "LOG" accessible to external subroutines called in embperl pages? (I hope this isn't too elementary a question.) I have an embperl page that contains code like this: [- use MyModule.pm; -] [- MyModule::my_subroutine("argument"); -] MyModule.pm is a fil

Re: Trying to get sessions to work with windows 2000.

2001-10-31 Thread Randy Kobes
On Wed, 31 Oct 2001, Hans de Groot wrote: > >Gerald > > > >P.S. Do you see any error message in your Apache error log ? > > Hi wel I have been tring a lot.. I moved apache to > c:\apach instead ofthe long program files\apach group path. > but it does not matter either.. it seems the old perl zip

Re: Trying to get sessions to work with windows 2000.

2001-10-31 Thread Hans de Groot
>Gerald > >P.S. Do you see any error message in your Apache error log ? Hi wel I have been tring a lot.. I moved apache to c:\apach instead ofthe long program files\apach group path. but it does not matter either.. it seems the old perl zip (v6) has les support for thing so I need to stick with

Re: Trying to get sessions to work with windows 2000.

2001-10-31 Thread Gerald Richter
> Thank for you very quick answer, but a very stupid question, > Do I just put : PerlModule MD5 anywhere in the httpd.conf, just like that? if so it does not make any difference > In this case it doesn't matter where you put it, because Embperl will not need it before the whole startup is done.

Re: Trying to get sessions to work with windows 2000.

2001-10-31 Thread Hans de Groot
Thank for you very quick answer, but a very stupid question, Do I just put : PerlModule MD5 anywhere in the httpd.conf, just like that? if so it does not make any difference would I be wise to find and try and olderversion active state perl? Thanks Hans de Groot >Mmmh, this may be related t

Re: Trying to get sessions to work with windows 2000.

2001-10-31 Thread Gerald Richter
> >> [Tue Oct 30 19:10:06 2001] [error] Can't call method "getid" on an > >undefined value at C:/Perl/site/lib/HTML/Embperl.pm line 1691. > > Mmmh, this may be related to Perl 5.6.1. There is a problem with MD5, because it isn't loaded anymore by the Digest::MD5 which comes with Perl 5.6.1. Put a

Re: Trying to get sessions to work with windows 2000.

2001-10-31 Thread Hans de Groot
On Wed, 31 Oct 2001 07:04:45 +0100, Gerald Richter wrote: >I didn't have tried MySQL on Windows, but the following works for me > >PerlSetEnv EMBPERL_SESSION_CLASSES "File Null" >PerlSetEnv EMBPERL_SESSION_ARGS"Directory=/perl/user/komrp/srvroot/logs" Okay I tried this and it behaves the sam