xml, xslt and embperl

2002-04-07 Thread Jaak
Hi! Is there any good tutorials/example source using embperl and xml? A small search with google gave me nothing to start on. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Chaining Modules in with embperl

2002-04-07 Thread Gerald Richter
Hi, I don't have used EmbperlChain on my own, so I can't tell you what's wrong, but you can use Embperl's Execute method to get the same result: > > unless(-r _){ > $r->log_error("File Access Denied to $filename"); > return FORBIDDEN; > } >

Re: embperl2b7 install problems with xalan

2002-04-07 Thread Gerald Richter
Hi, > Well, I made progress on getting my working Embperl. I used ldd to see what the beta 5 embperl was linked to and >compared it to what the beta 7 file was linked to. >I found that if I exported LD_PRELOAD with my xalan and xerces libraries before I did the make test, that embperl >would load

Re: Print OUT in sub [2.0b7]: bug?

2002-04-07 Thread Gerald Richter
Hello, > > I get a strange behavior when I use a sub that does not contain any [++] > block: > > - > [$ sub definedSub $] > [#+ 'hello' +#] > [- print OUT " IN ROUTINE\n"; -] > [$ endsub $] > Here is the output of the routine

Re: Objects within an Embperl page

2002-04-07 Thread Earwig
I finally got ahold of the writer of Filesys::SmbClient, and discovered that it's a problem with libsmbclient and persistent connections. The Samba folks are working to make the library support them. Thanks, Lars On Sun, 7 Apr 2002, Gerald Richter wrote: > > > > I'm not mounting. Filesy

Re: Sticky $escmode in 2.0b7: bug?

2002-04-07 Thread Gerald Richter
Hello, >I would like to change the HTML escaping mode inside a [- -] block; I >thought the following piece of code would do it: > >--- - >[- >local $escmode = 7; >print OUT "éric\n"; >local $escmode = 0; >print OUT "éric\n";

Re: PerlModule hell - questions and comments

2002-04-07 Thread Gerald Richter
Hi Kee, I am back, so let start another round in debugging the setup I have tried to create a minimal httpd.conf. I have a httpd (1.3.23) with staticly compiled in mod_perl 1.26 and Perl version 5.6.1 (I try several other combinations, but same result). With this httpd.conf Apache starts wi

Re: Objects within an Embperl page

2002-04-07 Thread Gerald Richter
> > 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/Embperl, I have no problem with > it. But inside, it is somehow recalling the file descriptor and the fact

Re: execution vs output timing

2002-04-07 Thread Gerald Richter
> Given > > [- some code here -] > some html here > > is it guaranteed that the code block will be executed completely *before* > the html block is sent to the browser? > Yes. In the default setting, _all_ code is executed before the first byte in the send to the server, so Embperl can catch er

Re: Embperl CGI and IIS howto 1.1

2002-04-07 Thread Gerald Richter
> Attached. Updated to reflect the ppm packages kindly provided by Randy > Kobes. > Thanks for the Update, will be in the next distribution of Embperl Gerald - Gerald Richterecos electronic communication services gmbh Internetco