Re: embperl [* *] does not work

2001-12-19 Thread Gerald Richter
> I am trying [* *] tag and the code as simple as this does not work. Note that [* *] is experimetal and will not work always in 1.3.x (it does in 2.0) > I am using embperl 1.3.2 build from theoryx5.uwinnipeg.ca for Windows. > Please upgrade to the newest version (1.3.4), because there where a

Re: EmbPerl for ActivePerl Distribution

2001-10-11 Thread Gerald Richter
> We have an HTML::Embperl ppm package (and also > Apache::ASP and HTML::Mason) at > http://theoryx5.uwinnipeg.ca/ppmpackages/ > which you can install via the ppm utility in the same way that > the mod_perl package is installed from this location. > And everthing could be found in Embperl

Re: EmbPerl for ActivePerl Distribution

2001-10-11 Thread Randy Kobes
On Thu, 11 Oct 2001, Grant Babb wrote: > all- > > don't even start with me about using win2K: sometimes (make that ALL the > times) you don't get to make those kind of decisions. > i loaded Apache and mod_perl onto a win2k box with ActivePerl. everything > compiled and started without errors, th

Re: embperl

2001-09-08 Thread iain truskett
* Medi Montaseri ([EMAIL PROTECTED]) [08 Sep 2001 22:58]: > Another advantage of Perl is that you can use this language in other > situations as well. Unlike PHP, or ColdFusion or other languages who > need something to tow them. [...] Much as I hate to give PHP a pro rather than a con, I must p

Re: embperl

2001-09-08 Thread Medi Montaseri
Another advantage of Perl is that you can use this language in other situations as well. Unlike PHP, or ColdFusion or other languages who need something to tow them...you know like an RV without a head, Perl has actaully an engine and gearbox as well. On Fri, 7 Sep 2001, Diego V wrote: > > >

Re: embperl

2001-09-07 Thread Ask Bjoern Hansen
On Fri, 7 Sep 2001, Diego V wrote: > Just wanted to ask to any embperl user, is there any real advantage > about using embperl instead of PHP ? http:[EMAIL PROTECTED]/msg01457.html http:[EMAIL PROTECTED]/msg01461.html - ask -- ask bjoern hansen, http://ask.netcetera.dk/ !try; do();

Re: embperl

2001-09-07 Thread Perrin Harkins
> Just wanted to ask to any embperl user, is there any real advantage > about using embperl instead of PHP ? If you want a high-level summary of Embperl features, you could take a look at my article on perl.com: http://www.perl.com/pub/a/2001/08/21/templating.html - Perrin

Re: embperl

2001-09-07 Thread Jim Cox
Well,... Now that makes some sense. I'll try that. Thanks. Jens-Uwe Mager wrote: > > On Mon, May 07, 2001 at 02:44:13AM -0500, Jim Cox wrote: > > > > > > This will sould like sour grapes,. But! > > > > Since PHP module compiles,... and Mod_Perl will not on AIX with > > gcc compiler >

Re: embperl

2001-09-07 Thread Jens-Uwe Mager
On Mon, May 07, 2001 at 02:44:13AM -0500, Jim Cox wrote: > > > This will sould like sour grapes,. But! > > Since PHP module compiles,... and Mod_Perl will not on AIX with > gcc compiler As far as I have heard mod_perl will compile using gcc, only you must first compile your perl with

Re: embperl

2001-09-07 Thread iain truskett
* Jim Cox ([EMAIL PROTECTED]) [07 Sep 2001 08:03]: > This will sould like sour grapes,. But! > Since PHP module compiles,... and Mod_Perl will not on AIX with gcc > compiler > I'm thinkin' PHP is getting better and better all the time. It's all a case of "use what works" =) There's so

Re: embperl

2001-09-07 Thread Jim Cox
This will sould like sour grapes,. But! Since PHP module compiles,... and Mod_Perl will not on AIX with gcc compiler I'm thinkin' PHP is getting better and better all the time. iain truskett wrote: > > * Diego V ([EMAIL PROTECTED]) [07 Sep 2001 06:59]: > > [...] > > Just wanted to

Re: embperl

2001-09-06 Thread iain truskett
* Diego V ([EMAIL PROTECTED]) [07 Sep 2001 06:59]: [...] > Just wanted to ask to any embperl user, is there any real advantage > about using embperl instead of PHP ? You get the advantage of using Perl rather than PHP. This includes the vast resources of CPAN. Personally, I recommend Mason

Re: Embperl, modules, cleanup and the stop button

2001-08-22 Thread Gerald Richter
> > My feeling that this cleanup is infact unnecessary (all though worth > having regardless), as the pipeline nature of the request (call > database for *all* data required, *then* output), any database calls > (and corresponding locks) will have completed before the abort > (SIGPIPE) is recognis

RE: Embperl struggles

2000-06-04 Thread Gerald Richter
> > 2. requrire'ing a file that defines some functions sometimes gives me >an error that the functions in that file are _not_ defined... > I append you a mail I write last month that should explain what happens... > 3. I have a hard time understanding when to use [- -] and when to use >[

Re: Embperl struggles

2000-06-03 Thread Toni Mueller
Hello all, On Fri, Jun 02, 2000 at 04:17:38PM +0200, Toni Mueller wrote: > trying to develop with Embperl I encounter the following > problems: > [ stuff deleted ] before reading _all_ your kind answers gently pushing me in the right direction I wanted to thank you for that and excuse myself f

RE: Embperl struggles

2000-06-02 Thread Greg Estep
The LOG filehandle is predefined by Embperl. Anything written to it is put into Embperl's log file (usually /tmp/embperl.log). If you use a different name, you will probably be OK. On the other hand, you can just delete the call to "open" (and "close) and use the log file Embperl already provi

RE: [Embperl] - non-alpha characters disappearing in %fdat

2000-05-23 Thread Gerald Richter
> > Can anyone tell me why the '*' is not coming through in the fdat stuff? > Embperl doesn't do anything with * in %fdat. So there must be another problem. Can you give a small example what you are doing? Gerald P.S. The Embperl mailing list would be a better place to discuss this ---

Re: [Embperl] - non-alpha characters disappearing in %fdat

2000-05-23 Thread Ask Bjoern Hansen
On Tue, 23 May 2000, Tom Lancaster wrote: Embperl support is on the embperl mailinglist. Subscribe by sending mail to [EMAIL PROTECTED] - ask -- ask bjoern hansen - more than 70M impressions per day,

RE: Embperl & Sessions, and Re: Embperl: Storing session info in FILES? (fwd)

2000-05-02 Thread Gerald Richter
Hello, > What I need: > > - several cookies per user eg. to integrate TicketAccess with Embperl, > using different cookie names and other parameters like path info > or expire. If you really need different cookies, you can implement them on your on with the Set-Cookie http header. This seems

Embperl & Sessions, and Re: Embperl: Storing session info in FILES? (fwd)

2000-05-02 Thread Toni Mueller
Hello, On Thu, Apr 27, 2000 at 01:55:46PM -0500, Igor Chudov @ home wrote: > BEGIN >{ >$ENV{EMBPERL_SESSION_CLASSES} = "DBIStore SysVSemaphoreLocker" ; >$ENV{EMBPERL_SESSION_ARGS}= "DataSource=dbi:mysql:session UserNam according to "perldoc Apach

Re: Embperl: browser does not send cookie back to webserver

2000-04-27 Thread Kee Hinckley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 At 4:27 PM -0500 4/27/00, Igor Chudov @ home wrote: >Please disregard my previous email, I have figured out what store >and locker to use. What did you use? >I thought that it was due to EMBPERL_COOKIE_PATH not being set, but >setting it did not hel

RE: Embperl segfaulting under perl 5.6.0

2000-03-30 Thread Gerald Richter
Hi Mike, > > I just checked the development version of HTML::Embperl, and this > is fixed in > there. > > Gerald: Could we patch this fix in to the HTML::Embperl stable > tree and get a > new stable release? I would like to avoid running the beta > version of Embperl > on a production site :). >

Re: Embperl segfaulting under perl 5.6.0

2000-03-30 Thread Michael schout
Doh! I just checked the development version of HTML::Embperl, and this is fixed in there. Gerald: Could we patch this fix in to the HTML::Embperl stable tree and get a new stable release? I would like to avoid running the beta version of Embperl on a production site :). The patch in question

RE: [Embperl] Segmentation fault during make test

2000-03-27 Thread Gerald Richter
> > Solaris 2.5.1 > Apache 1.3.12 (DSO enabled) > mod_perl 1.22 (not using DSO, EVERYTHING=1) > Which Perl version? There was a mail from Aaron yesterday who reported a SIGSEGV with Perl 5.6. Could you ran into the same problem? If not please send me a stackbacktrace form gdb (Look into to Faq.p

Re: Embperl vs. Mason

2000-02-15 Thread Joshua Chamas
Stas Bekman wrote: > > > Nothing really to add here, except that since this seems to be a FAQ, > > perhaps Stas would be willing to add a section about it that we could > > just point to whenever this question comes up? A non-partisan page with > > a focus on similarities and links to each site w

Re: Embperl vs. Mason

2000-02-14 Thread Stas Bekman
> Nothing really to add here, except that since this seems to be a FAQ, > perhaps Stas would be willing to add a section about it that we could > just point to whenever this question comes up? A non-partisan page with > a focus on similarities and links to each site would be ideal. Hmm, I hardly

Re: Embperl vs. Mason

2000-02-14 Thread Jonathan Swartz
Nothing really to add here, except that since this seems to be a FAQ, perhaps Stas would be willing to add a section about it that we could just point to whenever this question comes up? A non-partisan page with a focus on similarities and links to each site would be ideal. At 12:39 AM 2/14/00 -0

RE: Embperl configuration problem

2000-02-14 Thread Gerald Richter
... > Alias /cgi-bin/ "/abc/cgi-bin/" > > SetHandler perl-script > PerlHandler Apache::Registry > Options ExecCGI > PerlSendHeader On > > > SetHandler perl-script > PerlHandler HTML::Embperl > PerlSetEnv EMBPERL_FILESMATCH "\.ehtml" > Options Exec

Re: Embperl configuration problem

2000-02-14 Thread Cliff Rayman
Your root Location directives are overriding your cgi-bin Location. You set your embperl to skip all files but the ehtml, but that means it does nothing with the .pl files. Try this instead for the root Location. SetHandler perl-script PerlHandler HTML::Embperl Optio

RE: Embperl vs. Mason

2000-02-14 Thread Gerald Richter
> > Well, I haven't used Embperl but I've read the docs a bit and I have some > idea of how it works. > > One big difference that I would point out is that despite its name > HTML::Mason, is _much_ less HTML centric than Embperl. It is a bit > mod_perl centric but there is literally nothing HTML

RE: Embperl vs. Mason

2000-02-14 Thread Pascal Eeftinck
At 15:17 14-2-2000 -0600, Autarch wrote: >On Mon, 14 Feb 2000, Gerald Richter wrote: > > > > all. We've been talking recently about how to expand mason so that > it can > > > be used in any sort of context where you have a request (from STDIN, > > > email, whatever) for content that you want fil

RE: Embperl vs. Mason

2000-02-14 Thread Autarch
On Mon, 14 Feb 2000, Gerald Richter wrote: > > all. We've been talking recently about how to expand mason so that it can > > be used in any sort of context where you have a request (from STDIN, > > email, whatever) for content that you want filled by components. > > While you are talking, Embpe

Re: Embperl vs. Mason

2000-02-14 Thread Jason Bodnar
> One big difference that I would point out is that despite its name > HTML::Mason, is _much_ less HTML centric than Embperl. It is a bit > mod_perl centric but there is literally nothing HTML specific about it at > all. We've been talking recently about how to expand mason so that it can > be u

Re: Embperl vs. Mason

2000-02-14 Thread Autarch
On Mon, 14 Feb 2000, Andre Landwehr wrote: > I made some pages with Embperl, but I don't know Mason. Yesterday > a friend told me of Mason, but he does not know Embperl very > well. Now I wonder about the pros and cons of each, not only in > respect to performance but also general usability, bugs

Re: Embperl vs. Mason

2000-02-14 Thread dreamwvr
hi, my ignorance on Embperl is about to show;-)) tell me what would one be looking at to write apps for say the casios and Pilot 5s in linux? will embedded perl work? is it the right choice? this to map to web technologies of course:-)) Regards,

Re: Embperl vs. Mason

2000-02-14 Thread Joshua Chamas
Andre Landwehr wrote: > > Hi, > I made some pages with Embperl, but I don't know Mason. Yesterday > a friend told me of Mason, but he does not know Embperl very > well. Now I wonder about the pros and cons of each, not only in > respect to performance but also general usability, bugs etc. > What

RE: Embperl vs. Mason

2000-02-14 Thread Gerald Richter
Hi, > I made some pages with Embperl, but I don't know Mason. Yesterday > a friend told me of Mason, but he does not know Embperl very > well. Now I wonder about the pros and cons of each, not only in > respect to performance but also general usability, bugs etc. > What do more experienced web pro

RE: Embperl SEGV's in mod_perl, but not standalone

2000-02-13 Thread Gerald Richter
Hi, when you have compiled mod_perl as DSO you must _not_ load Embperl at server startup time, i.e. _no_ "PerlModule HTML::Embperl" nor a "use HTML::Embperl" in a startup.pl file! Gerald P.S. This problem will be fixed in mod_perl 1.22 --

RE: Embperl: loop control bug

2000-02-04 Thread Gerald Richter
> > Should embperl then be altered to handle loop control itself or > should we just > use [* *] embperl structures to allow us to use perl's control structures > instead of embperl's? In either event, it should probably be > documented as a > shortcoming of using embperl's control structures. >

RE: Embperl 1.2b9: [error] Modification of a read-only value attempted

2000-02-04 Thread Gerald Richter
> Totally weird. Suddenly I get the following error message after > uploading a file: > > [error] Modification of a read-only value attempted a > t /local/lib/perl5/site_perl/5.005/i386-linux/HTML/Embperl.pm > > > Gerald, do you have any opinion on this? > Upgrade to 1.2.1. If you get this error

RE: Embperl: loop control bug

2000-02-04 Thread Christian Gilmore
[# next; #] [* } *] [- $i++; -] [* } *] Regards, Christian > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Christian Gilmore > Sent: Friday, February 04, 2000 10:33 AM > To: 'Gerald Richter'; 'ModPerl Mailing List

RE: Embperl: problem with module imports

2000-02-04 Thread Christian Gilmore
; From: Gerald Richter [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 03, 2000 11:29 PM > To: Christian Gilmore; ModPerl Mailing List (E-mail) > Subject: RE: Embperl: problem with module imports > > > > > > > The test.html file contains only the [- use -] > &

RE: Embperl: loop control bug

2000-02-04 Thread Christian Gilmore
tures. Regards, Christian > -Original Message- > From: Gerald Richter [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 03, 2000 11:27 PM > To: Christian Gilmore; ModPerl Mailing List (E-mail) > Subject: RE: Embperl: loop control bug > > > > Embperl (1.2.0) cause

RE: Embperl: problem with module imports

2000-02-04 Thread Gerald Richter
> > The test.html file contains only the [- use -] > line. Try [- use ; -] for whatever reason, Perl likes to see a semikolon here. Gerald

RE: Embperl: loop control bug

2000-02-03 Thread Gerald Richter
> Embperl (1.2.0) causes a core dump when I put in a loop control > statement. For > instance, in the following snippet of code, when the 'last' line > is reached, > the apache child dumps core. > > [- $i = 0 -] > [$ while ($i < 10) $] >[+ $i +] >[$ if ($i == 5) $] > [- last -] >

Re: Embperl/mod_perl & name space problems?

2000-02-03 Thread Gerald Richter
>The server seems to be putting the 'included'embperl files into the >same namespace. As long as you don't force EMbperl to do otherwise, every Embperl will run in it's own namespace > Each page works fine if you hup the server, going >from one section of the site to annother results in the top

Re: Embperl 1.2.1: multipart/form-data processing and nested pages (solved)

2000-02-02 Thread Enno Ewers
Gerald Richter wrote: [...] Sorry to confuse everybody, but I found the bug, and indeed it had nothing to do with the Execute call. The page was somewhat complex and I tried to reproduce the bug with a simpler setup, which did not work. I just searched in the wrong direction, as the upload was wo

RE: [Embperl] Packages and shared code.

2000-02-01 Thread David Harris
Martin A. Langhoff wrote: > Now I'm trying to go one step further and make the code ready to be > implemented in a few more sites. The problem is that both the code and > static varibles remain there in memory-space in a 'shared package'. And > this 'shared package' model blocks me from having ma

RE: [Embperl + SSI]GET parameters encoding.

2000-02-01 Thread Gerald Richter
> > I'm using a mix of SSI and Embperl in a site that's almost done. I > use a set of SSI templates that load the 'content file' indicated by the > query string. And sometimes the 'content file' is an Embperl file. So > far so good. > > Now for a specific page, I definitely need to pass so

RE: [Embperl] Packages and shared code.

2000-02-01 Thread Gerald Richter
hi > > I've built my forst 'complex' site with Embperl, with a series of > web-applications like a calendar and an address book relie. > > The code is modularized in a main lib, where all the DBI routines > are implemented and a separated lib for each 'application'. These libs > are 'Execu

RE: Embperl 1.2.1: multipart/form-data processing and nested pages

2000-02-01 Thread Gerald Richter
Hi, > > I am trying to process a file upload with multipart/form-data in a > nested page that is called with Execute(). I know that > multipart/form-data can't be processed twice, so I tried a call like > this: > > Execute( { inputfile => 'process_form.epl', >param => [$whatever,\%fda

RE: Embperl and images on the same page

2000-01-31 Thread Jasper Wong
Thanks guys! The setup is working fine now :) Jasper >> >> >> On Mon, Jan 31, 2000 at 04:12:02PM +0100, Gerald Richter wrote: >> > >> > PerlSetEnv EMBPERL_FILESMATCH "\.html" >> > >> >> btw: Instead of EMBPERL_FILESMATCH I use a normal apache >> section for this (with PerlHandler HTML::Embper

RE: Embperl and images on the same page

2000-01-31 Thread Gerald Richter
> > > On Mon, Jan 31, 2000 at 04:12:02PM +0100, Gerald Richter wrote: > > > > PerlSetEnv EMBPERL_FILESMATCH "\.html" > > > > btw: Instead of EMBPERL_FILESMATCH I use a normal apache > section for this (with PerlHandler HTML::Embperl of > course), which works perfectly for me. Is there any reaso

RE: Embperl and images on the same page

2000-01-31 Thread Jason Bodnar
> You images are served by Embperl with this configuration. Embperl most time > will corrupt your images, also it doesn't makes any sens to do so and waste > performance. You should add a > > PerlSetEnv EMBPERL_FILESMATCH "\.html" Performance-wise, which is better? The above or ? --- Jason Bodn

Re: Embperl and images on the same page

2000-01-31 Thread Andre Landwehr
On Mon, Jan 31, 2000 at 04:12:02PM +0100, Gerald Richter wrote: > > PerlSetEnv EMBPERL_FILESMATCH "\.html" > btw: Instead of EMBPERL_FILESMATCH I use a normal apache section for this (with PerlHandler HTML::Embperl of course), which works perfectly for me. Is there any reason to do it this or

RE: Embperl and images on the same page

2000-01-31 Thread Gerald Richter
> > SetHandler perl-script > PerlHandler HTML::Embperl > Options +ExecCGI > AllowOverride None > Order allow,deny > Allow from all > > >

RE: Embperl stranges with [$ $] and [* *]

2000-01-31 Thread Gerald Richter
Hi. > > I've noticed strange behavior when I mix the [$ $] and [* *] operators in > Embperl code. > > I had the following code: > > -- > [$ if ($#$dat >= 0) $] > > Links: [+ $#$dat +] > > > [* foreach $row (@$dat) { *] > > [+ $row->[1] > +]: > [+ $row->[2] +] > > [* } *] >

RE: Embperl: my-variables in [$sub ...$][$endsub$] blocks?

2000-01-31 Thread Gerald Richter
Hi, > > I'd like to use subroutines within my Embperl documents which > use parameters. The usage proposed in the manual > > [$ sub foo $] > [- $p = shift -] > parameter: [+ $p +] > [$ endsub $] > > works but defines $p globally, which is quite inconvenient. > > However, adding "my" t

Re: Embperl-mysql ==> dismal performance.

2000-01-27 Thread Joshua Chamas
"Martin A. Langhoff" wrote: > > Now I know the SSI/Embperl solution is not the best choice in town. > But I get exactly the same problem in a set of pure Embperl+mysql pages > I've got, so I'm not quite liking it. > > What kind of performance improvemente may I get from using > Apache::D

Re: Embperl and session tracking: problems

2000-01-22 Thread Jeffrey W. Baker
Alvar Freude wrote: > > > I have a problem with Embperl and session tracking: > > > > The stored values seem to be different for each running httpd, the > > session data seem to be not stored globally / shared between all the > > running httpd. I tested it with a simple counter, and it counts up

Re: Embperl and session tracking: problems

2000-01-22 Thread Alvar Freude
> I have a problem with Embperl and session tracking: > > The stored values seem to be different for each running httpd, the > session data seem to be not stored globally / shared between all the > running httpd. I tested it with a simple counter, and it counts up until > a next httpd handles th

RE: Embperl: behaviour of [+ +] in foreach loops

2000-01-18 Thread Gerald Richter
hi again, > just out of curiosity: > the output of the two following codesegments differs, in the way > that in the variant with [+ +] the value of $RAC_F is the same on > each line while in the [* *] variant the value changes as supposed. > Is there a reason for this, or is this just because of s

RE: Embperl optEarlyHttpHeader

2000-01-18 Thread Gerald Richter
Hi, > if I set optEarlyHttpHeader (64) within my EMBPERL_OPTIONS my > page ist correctly shown in the browser. But if > optEarlyHttpHeader is not set, the contents of my page are mixed > up. I use several blocks of [- -] and [* *] and I execute two > Shellscripts using perls backtick-syntax (unfor

RE: Embperl + Apache::Session

2000-01-16 Thread Gerald Richter
> On Sun, Jan 16, 2000 at 03:37:51PM +0100, Gerald Richter wrote: > > This looks ok for the Embperl part, but if you have now staticly linked > > mod_perl you should throw out the LoadModule perl_module . > I don't know > > what Apache does, if a module is staticly and dynamicly > present, but

Re: Embperl + Apache::Session

2000-01-16 Thread Andre Landwehr
On Sun, Jan 16, 2000 at 03:37:51PM +0100, Gerald Richter wrote: > This looks ok for the Embperl part, but if you have now staticly linked > mod_perl you should throw out the LoadModule perl_module . I don't know > what Apache does, if a module is staticly and dynamicly present, but this > does

RE: EmbPerl and scope

2000-01-16 Thread Louis Trochatos
Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Vijay Sent: Saturday, January 15, 2000 11:37 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: EmbPerl and scope I used following method to get Embperl working in my system. [- Execute

RE: Embperl + Apache::Session

2000-01-16 Thread Gerald Richter
> > > Could you send me your httpd.conf (private email)? > > sure, here it is.. > This looks ok for the Embperl part, but if you have now staticly linked mod_perl you should throw out the LoadModule perl_module . I don't know what Apache does, if a module is staticly and dynamicly present, but

RE: Embperl + Apache::Session

2000-01-16 Thread Gerald Richter
> > > But I can also still see the session-id changing with > > > every reload, and no cookie is set, just like before. > > > > What do you mean by session id? The number inside the square > bracktes id the > > pid of the Apache child. Or do you mean other things? > > I mean the ID saved as _sessi

RE: EmbPerl and scope

2000-01-16 Thread Gerald Richter
> I am having trouble with embperl and scope. I read the FAQ on this but I > still can't get it to work. As an example let's say I have two files: > Each file runs in it's own namespace (package name), so you won't see globals from another page. You must pass them as parameters, as Vijay already

Re: Embperl + Apache::Session

2000-01-16 Thread Andre Landwehr
On Sun, Jan 16, 2000 at 01:50:09PM +0100, Gerald Richter wrote: > > But I can also still see the session-id changing with > > every reload, and no cookie is set, just like before. > > What do you mean by session id? The number inside the square bracktes id the > pid of the Apache child. Or do you

RE: Embperl + Apache::Session

2000-01-16 Thread Gerald Richter
> > I made a further test by now, with staticly linked mod_perl and without > preloading HTML::Embperl in httpd.conf. > If you staticly linked mod_perl you should preload Embperl, but it should also work without preloading. > Doing a "tail -f /var/log/apache/error.log" I see "[11159]SES: > Embpe

Re: EmbPerl and scope

2000-01-15 Thread Vijay
I used following method to get Embperl working in my system. [- Execute ('other.html',"$a") -] other.html The value of a is [+ $param[0] +] This works fine. Vijay Nair - Original Message - From: Louis Trochatos <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 15, 20

Re: Embperl + Apache::Session

2000-01-14 Thread Andre Landwehr
On Fri, Jan 14, 2000 at 01:31:17PM +0100, Gerald Richter wrote: > What you describe looks good to me. There is one other issue, that is > dynamlic linking mod_perl. How comes mod_perl into your Apache? Is it > dynamicly loaded at runtime (i.e. by a LoadModule in your httpd.conf) or is > it staticl

RE: Embperl + Apache::Session

2000-01-14 Thread Gerald Richter
> PerlModule HTML::Embperl This line loads Embperl at startup, remove it! > > I could also build embperl staticly, maybe that helps. This will surly solve a lot of problems. > But a quick > try some minutes ago with just recompiling mod_perl with > USE_DSO=0 and configuring apache with --disab

RE: Embperl + Apache::Session

2000-01-14 Thread Gerald Richter
> > Since this happens on two machines with at least slightly different Linux > distributions (one is Mandrake 6.0, the other a Redhat 5.2) I > think it is a configuration problem... so if someone could please > email me her complete configuration files I'd have more means to > test > What you des

Re: Embperl + Apache::Session

2000-01-14 Thread Andre Landwehr
On Fri, Jan 14, 2000 at 07:00:13AM +0100, Gerald Richter wrote: > > You need to setup session handling at all, e.g. > > PerlSetEnv EMBPERL_SESSION_CLASSES "FileStore SysVSemaphoreLocker" That is PerlSetEnv EMBPERL_SESSION_CLASSES "FileStore NullLocker" in my httpd.conf > When you restart your

Re: Embperl + Apache::Session

2000-01-13 Thread Gerald Richter
> On Wed, Jan 12, 2000 at 11:12:53AM -0800, Cliff Rayman wrote: > > i am using embperl with cookies. > > i also have this set in httpd.conf > > > > PerlSetEnv EMBPERL_COOKIE_DOMAIN .genwax.com > > PerlSetEnv EMBPERL_COOKIE_PATH / > > PerlSetEnv EMBPERL_COOKIE_EXPIRES 'Friday, 31-Dec-2010 14:00:00

Re: Embperl + Apache::Session

2000-01-13 Thread Andre Landwehr
On Thu, Jan 13, 2000 at 12:47:08PM -0800, Cliff Rayman wrote: > > testing > > This is my counter: > [+ $udat{COUNTER}++ +] > > > > > use your browser to view the page. > keep hitting reload - counter should increase. so my english was good enough to understand the documentation after all...

Re: Embperl + Apache::Session

2000-01-13 Thread Cliff Rayman
how about trying something simple like. testing This is my counter: [+ $udat{COUNTER}++ +] use your browser to view the page. keep hitting reload - counter should increase. cliff rayman genwax.com Andre Landwehr wrote: > On Wed, Jan 12, 2000 at 11:12:53AM -0800, Cliff Rayman wrote: > >

Re: Embperl + Apache::Session

2000-01-13 Thread Andre Landwehr
On Wed, Jan 12, 2000 at 11:12:53AM -0800, Cliff Rayman wrote: > i am using embperl with cookies. > i also have this set in httpd.conf > > PerlSetEnv EMBPERL_COOKIE_DOMAIN .genwax.com > PerlSetEnv EMBPERL_COOKIE_PATH / > PerlSetEnv EMBPERL_COOKIE_EXPIRES 'Friday, 31-Dec-2010 14:00:00 GMT' > > how

Re: Embperl emergency...

2000-01-13 Thread Gerald Richter
> > The $escmode thing doesn't seem to work for me. In my srm.conf I have > optRedirectStdout set. My embperl code looks a bit like this... > > [- use foo; -] > [- $escmode = 1; -] You need to set to to zero! > [- foo->bar() -] > > And inside foo.pm > > bar() { > print < > EOF > } > > I've

Re: Embperl emergency

2000-01-12 Thread Sean Chittenden
print qq(Using qq() works remarkably well and preserves newlines, tabs, etc. Here docs are... legacy, in my mind and are less friendly to editors (such as emacs). See if moving to qq() solves your problems, if not, then ... I dunno.); This is more along the lines of a PS than an

Re: Embperl + Apache::Session

2000-01-12 Thread Cliff Rayman
i am using embperl with cookies. i also have this set in httpd.conf PerlSetEnv EMBPERL_COOKIE_DOMAIN .genwax.com PerlSetEnv EMBPERL_COOKIE_PATH / PerlSetEnv EMBPERL_COOKIE_EXPIRES 'Friday, 31-Dec-2010 14:00:00 GMT' how are you checking to make sure cookies are sent? either telnet directly to the

RE: Embperl Emergency!!!

2000-01-12 Thread Gerald Richter
Hi, > > I just upgraded to Embperl 1.2.1 and I've broken my internet server!$% > > It appears the problem is I have some perl routines that go > print < > EOF > >From which version did you upgrade? This problem should also be there for all older versions I remember... > etc.. That was probably

RE: Embperl / Variable Scope Question

2000-01-10 Thread Mike Cantrell
Thanks so much for the help. Works great! Regards, Mike Cantrell ADS 888-703-2780 On Mon, 10 Jan 2000, Gerald Richter wrote: > > Quick question: > > > > Let's say I want to keep a common configuration file which defines > > variables and such. I'd like to [- Execute() -] the file

RE: Embperl / Variable Scope Question

2000-01-10 Thread Gerald Richter
> Quick question: > > Let's say I want to keep a common configuration file which defines > variables and such. I'd like to [- Execute() -] the file but it seems that > the variables are out of scope once I try to access them in the rest of > the document. > > Am I doing soemthing wrong or is there

RE: Embperl / Variable Scope Question

2000-01-10 Thread Jason Bodnar
At the top of the config file put: package Config; and refer to the vars in your page as: [+ $Config::foo +] On 09-Jan-00 Mike Cantrell wrote: > Quick question: > > Let's say I want to keep a common configuration file which defines > variables and such. I'd like to [- Execute() -] the file bu

Re: Embperl under cgiwraper

2000-01-07 Thread Vijay
mod_perl. I want to use it as CGI. Thanks for all help. Vijay Nair - Original Message - From: Gerald Richter <[EMAIL PROTECTED]> To: Vijay <[EMAIL PROTECTED]> Cc: mod_perl Maillinglist <[EMAIL PROTECTED]> Sent: Friday, January 07, 2000 1:36 PM Subject: RE: Embpe

RE: Embperl under cgiwraper (2)

2000-01-07 Thread Vivek Khera
> "GR" == Gerald Richter <[EMAIL PROTECTED]> writes: GR> The other possibilty is, that cgiwrapper does not set the environement GR> variable PATH_TRANSLATED. This is required by Embperl in cgi mode My experience tells me that cgiwrap steals PATH_INFO and PATH_TRANSLATED for its own purpose,

RE: Embperl under cgiwraper (2)

2000-01-07 Thread Gerald Richter
> From the error message it seems you didn't > give Embperl > any sourcefile to process. > > > You must request it like this: > > http://localhost/cgi-bin/embpcgi.pl/path/to/the/source.html > The other possibilty is, that cgiwrapper does not set the environement variable PATH_TRANSLATED. This is

RE: Embperl under cgiwraper

2000-01-07 Thread Gerald Richter
> > unshift(@INC, '/home/sites/home/HTML-Embperl-1.2.0/blib/lib' ); > print "@INC\n"; > You don't need this, if you have run "make install" > > [11765]ERR: 30: Line 1: Not found ? This error message comes from Embperl. So the embpcgi.pl is still found, otherwise you wouldn't see this message,

RE: Embperl under cgiwraper

2000-01-06 Thread Gerald Richter
Hello, >In my system, cgiwraper is installed and is used as wraper for all .pl and .cgi scripts. >I tried to install embperl without any success. Everytime I get the error cgiwraper not >found for embperl. I don't know much about cgiwrapper, so could you give me some more details, what it does

RE: embperl examples on embperl page have a bug ????

2000-01-04 Thread Gerald Richter
> The second DBI example on the embperl page works very well. > > The first example exhibits a strange behaviour: > > When interpreted from command line with embpexec.pl it works OK (returns > the HTML with a table with 2 columns and 7 rows) but when served through > the Apache HTTPD ONLY the FIRS

RE: Embperl 1.2.0: Problems with tags

1999-12-31 Thread Gerald Richter
> > Here's a gdb stacktrace. I compiled embperl with -g (but > not the perl executable). Looks like you forgot to link with debug infos (see http://perl.apache.org/embperl/Faq.pod.1.html#How_do_I_build_Embperl_with_de bu ) > I had to set heuristic-fence-post > to a large value and run the trace

Re: Embperl 1.2.0: Problems with tags

1999-12-30 Thread David Waldo
Here's the info you asked for: Gerald Richter wrote: > > > I got embperl_19991229171455_tar from CVS but still have the > > same problem. Make test also fails on lists.htm (see below). > > Does the test also fail for 1.2.0? Yes, same error. $ make test PERL_DL_NONLAZY=0 /projects/perl.dev/bin

Re: Embperl 1.2.0: Problems with tags

1999-12-29 Thread Gerald Richter
> I got embperl_19991229171455_tar from CVS but still have the > same problem. Make test also fails on lists.htm (see below). Does the test also fail for 1.2.0? > I'll try to run a stacktrace in gdb tomorrow. > Great! I like to fix it before 1.2.1 > > Summary of my perl5 (5.0 patchlevel 4 su

Re: Embperl 1.2.0: Problems with tags

1999-12-29 Thread David Waldo
I got embperl_19991229171455_tar from CVS but still have the same problem. Make test also fails on lists.htm (see below). I'll try to run a stacktrace in gdb tomorrow. PERL_DL_NONLAZY=0 /projects/perl.dev/bin/perl -I./blib/arch -I./blib/lib -I/proj ects/perl.dev/lib/alpha-dec_osf/5.00405 -I/proje

RE: Embperl 1.2.0: Problems with tags

1999-12-29 Thread Gerald Richter
> I'm having problems with Embperl 1.2.0. It core dumps > when calling Execute() with $fdat and $ffld params on > input files with tags that contain value params > , eg. . Embperl 1.2b4 has no problem > with it though. > There where serveral changes in the option handling since 1.2b4. I am not a

Re: [Embperl] Bareword not allowed !

1999-12-22 Thread Eric L. Brine
> When it finds a statement looking like > HTML::Embperl::DOC::someSub; > it will die, saying that barewords are not allowed when the > strict pragma is in use. That's what strict does. This same behavior is observed under straight perl (i.e. without using mod_perl or Embperl). { no strict;

RE: [Embperl] Execute failing

1999-12-22 Thread Gerald Richter
Hi, > > I can point out that I'm using Execute in the short format, except > in one place, where I'm using the long format to set the import flag to > 1. And its on those particular files where all my Execute(s) fail, when > only the second Execute carries the import flag. > > weird. >

  1   2   3   >