Re: Embperl 3.0.0-rc.1 is released

2023-11-19 Thread Michael Smith
Hi Neil I think everyone else on the list is getting all these emails. So I'm pretty sure everything is working fine but perhaps there is an issue on your end? Have you checked your spam and filters? Can't be much more help than that I'm afraid. Michael On Sun, 19 Nov 2023, 20:20 Neil Gunton

Re: EMBPERL: accepting json

2016-09-04 Thread Michael Smith
I wouldn't use embperl to accept json. I see embperl as being designed for HTML output, so I don't really see how it helps when dealing with json. On Fri, Sep 2, 2016 at 11:43 PM, Donavon wrote: > Good to know that there are still some Embperl users out there. > > We have a large SAAS system ma

Re: EMBPERL: Calling Execute() multiple time per a page.

2016-08-25 Thread Michael Smith
500 times - that's a lot! Maybe you could run it once offline, and save the result as HTML? Just an idea. On Thu, Aug 25, 2016 at 10:35 PM, Donavon wrote: > I have a loop that is calling Execute() to load a EMBPERL page as a > template. This template sets up and contains a bootstrap modal and

Error on centos with apache 2.4.23

2016-07-20 Thread Michael Smith
Hi I'm struggling to get embperl to run on this setup. It compiles file but when I try to start httpd I get: Cannot load /usr/local/lib64/perl5/auto/Embperl/Embperl.so into server: /usr/local/lib64/perl5/auto/Embperl/Embperl.so: undefined symbol: PL_thr_key I saw on a previous thread that Geral

Re: Build problem

2012-09-02 Thread Michael Smith
Hi Benni, I think you may need to download apache too. Then you'll know where the source is. Hope this helps Michael On 2 Sep 2012 11:36, "Benni Bärmann" wrote: Hi, in my struggle for embperl at ubuntu, i stuck here: root@schwarmeingang:/home/**benni/aymargeddon/Embperl-2.4.**0# perl Makefi

Re: ANNOUNCE: Embperl 2.4.0

2010-10-29 Thread Michael Smith
Hi all, Just to say we've been running this on our production servers for a few weeks and have served several million pages with no problems at all. Michael On Mon, Oct 11, 2010 at 11:01 AM, Gerald Richter - ECOS wrote: > Hi, > > > > yes I know, the update of the website is still on my todo lis

Re: ANNOUNCE: Embperl 2.4.0

2010-10-04 Thread Michael Smith
Fantastic news! On Mon, Oct 4, 2010 at 5:44 AM, Gerald Richter - ECOS wrote: > The URL > >    http://www.embperl.org/downloads/Embperl-2.4.0.tar.gz > > has entered CPAN as > >  file: $CPAN/authors/id/G/GR/GRICHTER/Embperl-2.4.0.tar.gz >  size: 732920 bytes >   md5: 2d4e3a903a04fcc559718342fa3775

Re: Embperl BETA 2.4.0_3 is available

2010-08-25 Thread Michael Smith
Hi Gerald (and the Embperl fan club) Sorry to be a nag - just wondered if there's any progress towards releasing the final 2.4.0? It seems to work fine for us in initial testing, and we'd really like to upgrade to it when it gets properly released. Many thanks for your continued efforts Michael

Re: @param seems to be shared between Execute calls

2010-07-27 Thread Michael Smith
is not the outermost Embperl component, i.e. this component is > called from within another component. > > > > Gerald > > > > > > > > *From:* Michael Smith [mailto:smi...@gmail.com] > *Sent:* Friday, July 23, 2010 12:25 AM > *To:* Gerald Richter - ECOS &

Re: @param seems to be shared between Execute calls

2010-07-23 Thread Michael Smith
Note that the standard > apache handler calls Execute, last I checked. I seem to recall there's a > few other methods to run Embperl pages - but ultimately, they all call > Execute. Disclaimer: I haven't looked in a while, and it's late, and I'm > tired. > > --

Re: @param seems to be shared between Execute calls

2010-07-22 Thread Michael Smith
h of $epreq is not used by Embperl itself, so you are free to use it > and it exists exactly for the live time of one Apache request > > > > Gerald > > > > > > > > *From:* Michael Smith [mailto:smi...@gmail.com] > *Sent:* Wednesday, July 21, 2010 11:05 AM >

Re: @param seems to be shared between Execute calls

2010-07-21 Thread Michael Smith
, as far as > docs are concerned. I don't know if the code actually fires on END.) > > -- > Ed Grimm > Identity Services > > > From: Michael Stevens To: > embperl@perl.apache.org Cc: Michael Smith , > cabell.demarcel...@di

Re: Embperl BETA 2.4.0 is available

2010-07-01 Thread Michael Smith
On Thu, Jul 1, 2010 at 4:55 PM, Michael Stevens wrote: > Gerald, > > It would be great to have a new release of Embperl, I wholeheartedly second this sentiment! - To unsubscribe, e-mail: embperl-unsubscr...@perl.apache.org For a

Re: embperl releases

2010-03-17 Thread Michael Smith
ot include the Catalyst module, because it's still alpha and > would hold off the release to long. > > I expect to upload a first beta during this week > > Gerald > >> -Original Message- >> From: Michael Smith [mailto:smi...@gmail.com] >> Sent: Tuesd

Re: embperl releases

2010-03-09 Thread Michael Smith
Hi Gerald, Sorry to be a pain but as a full member of the Embperl fanclub I have been monitoring my inbox excitedly ever since this post, in anticipation of a new release. Do you have any update on when we might be lucky enough to see one? Many thanks Michael On Fri, Feb 5, 2010 at 2:15 PM, G

Re: Problem with

2010-02-26 Thread Michael Smith
nside the page, but it will effect the output of the whole page > > Gerald > > > > >> -Original Message- >> From: Michael Smith [mailto:smi...@gmail.com] >> Sent: Wednesday, February 24, 2010 5:38 PM >> To: embperl@perl.apache.org >> Subject:

Re: Problem with

2010-02-24 Thread Michael Smith
> Since Embperl internally parses tags it needs to modify in a tree > representation and converts it back to html on output, Embperl does not know > about the final / you have put in, so it only depends on the OUTPUT Mode > > > Gerald Hi Gerald, Is it possible to set this on an individual page

Re: Problem with

2010-02-12 Thread Michael Smith
I recently used this nastyness to get an image tag to close properly: I know that EMBPERL_OUTPUT_MODE should address this but I was actually running this as an offline process and couldn't work out how to set it in this context. Michael On Fri, Feb 12, 2010 at 4:51 PM, Dirk Melchers wrote: >

Re: %fdat for select w/ multiple values

2009-05-21 Thread Michael Smith
Hi John, I wrote up a little demo that should help: http://dev2.savingforchildren.co.uk/mjs/jttest.epl A word of warning though - if you're thinking about using Embperl I'd be wary. Much as I love it, the author isn't currently supporting it (hopefully this will change at some point), and the d

Re: multipart/form-data and CGI.pm newer than 3.38 ( other approach )

2009-02-27 Thread Michael Smith
Just a note to say thanks a lot for this. I just spent a couple of hours trying to work out what on earth was going on before googling and finding this answer. It's obviously a shame that Embperl no longer works properly on a standard perl installation. Hopefully Gerald will get round to adding

Re: Embperl Abandoned: Next Steps?

2008-09-14 Thread Michael Smith
It was actually done via a rather old form of communication known as the telephone. My IT Director took the liberty of calling him, as we've (in a previous company) previously sponsored Embperl development, and might do so again at some point in the future. Michael > How did you get this scoop?

Re: Embperl Abandoned: Next Steps?

2008-09-14 Thread Michael Smith
Hi Everyone, Well some good news. Gerald has not abandoned Embperl, and his projects are still dependent on it. He's been very busy but I understand he will be catching up on the mailing list next month and will be updating Embperl for the latest version of perl. It's obviously not ideal that t

Re: Roll call: What cool, high-traffic websites are using Embperl?

2008-08-07 Thread Michael Smith
Interactive Investor (http://www.iii.co.uk), one of the UK's leading websites, uses embperl. In the dot com bubble days it once did 90 million page impressions in a month. Less now, but still decent traffic. Also I believe they are hiring. I used to work there so if you are in the UK and after

Re: Preventing selected being added to option tags

2008-01-22 Thread Michael Smith
Hi Andrew Thanks for the response. I ended up (at least for the time being) doing an undef($fdat{select_field}) which worked but it seems a bit messy. I was hoping there was some way to disable this processing with optDisableSomething. Anyway, I achieved what I needed to. Many thanks Michael

Preventing selected being added to option tags

2008-01-21 Thread Michael Smith
Hi, Can someone please clarify how I prevent 'selected' being automatically added to selects? Here's my embperl file: [- $optDisableSelectScan=1; $optDisableInputScan=1; -] A B C What happens is that once you submit

Re: Breaking space in an [$ if $] block

2007-06-26 Thread Michael Smith
showing you like mine did) Weren't you trying to avoid using  ? - Gavin >>> Michael Smith <[EMAIL PROTECTED]> 06/26/07 1:47 AM >>> works great. Didn't know I could do that. Many thanks. Out of interest for a deeper understanding of embperl, why doesn

Re: Breaking space in an [$ if $] block

2007-06-26 Thread Michael Smith
e" space (as in "line break"?), but if you put a space immediately after the character 'C' in your example: ABC [$ if (1==1) $] [$ endif $]123 it will output: ABC 123 Is that what you wanted or have I misunderstood you? Gavin Spomer Systems Programmer Brooks Libr

Re: [SPAM] Breaking space in an [$ if $] block

2007-06-26 Thread Michael Smith
ibrary Central Washington University >>> Michael Smith <[EMAIL PROTECTED]> 06/25/07 4:32 AM >>> Hi there, I want to create a breakable space within my HTML. Here's a short example: ABC[$ if (1==1) $] [$ endif $]123 which outputs ABC123 .. with no space despite there being

Breaking space in an [$ if $] block

2007-06-25 Thread Michael Smith
Hi there, I want to create a breakable space within my HTML. Here's a short example: ABC[$ if (1==1) $] [$ endif $]123 which outputs ABC123 .. with no space despite there being a space in between [$ if $] and [$ endif $] I know I can put an   but I actually want a breakable space. Is there

Small change request

2007-06-20 Thread Michael Smith
From the documentation: -- In Embperl 2.0.2 and up you can use a shortcut syntax for passing parameters: [$ sub foo ($p) $] Here we show the first parameter [+ $p +] [$ endsub $] -- This works nicely but [$ sub foo($p) $] (ie without the space between foo and ($p)) gives an error.

Re: equivalent of [$ hidden $] for links?

2007-06-08 Thread Michael Smith
Thanks Andrew, the suggestions seem great. Michael On 6/7/07, Andrew O'Brien <[EMAIL PROTECTED]> wrote: Hi Michael, > [$ hidden $] is very handy for making sure form variables get passed > from one page to another, but is there anything similar for links? > > That is to say, if the url is >

equivalent of [$ hidden $] for links?

2007-06-06 Thread Michael Smith
Hi there [$ hidden $] is very handy for making sure form variables get passed from one page to another, but is there anything similar for links? That is to say, if the url is page.epl?param1=x¶m2=y and I have a link on a page in which I also want to include param1 and param2 ... say in whic

Re: Embperl2 and Execute

2006-08-18 Thread Michael Smith
Hi Marek,I'd suggest something a bit more like this (it's untested but hopefully you get the idea):[- @tmp=(1..3) -][$ foreach $r (@tmp) $] [$ endforeach $]Hope this helps - obviosuly TMTOWTDI, but I try to avoid putting HTML in the perl sections.MichaelOn 8/18/06, Marek Matis <[EMAIL PROTECTED]>

Re: Errors after file upload

2006-08-16 Thread Michael Smith
Hi Gerald,Actually w're running version 2.89 of CGI.pm - but I guess the need to upgrade answer still holds?I know from my previous job about upgrading embperl and everything else.  It's hassle but ends up being necessary every now and then. Thanks,MichaelOn 8/16/06, Gerald Richter <[EMAIL PROTECTE

Errors after file upload

2006-08-14 Thread Michael Smith
Hi there,I have been experimenting with file upload via forms.  I am using the method described by Gerald back here: http://www2.ecos.de/~mailarc/embperl/2001-04/msg00101.html It does successfully upload the file and do what I want, however subsequent requests to the server give this error:[Mon Aug

Re: 404s not being handled correctly

2006-01-08 Thread Michael Smith
At the moment in Embperl all error are handled the same and gives a 500error. I have to handle the not found case special to return the 404 error, which of course makese sense. I will take a look at it during the next days.Thanks Gerald,Is there a way that the script invoked by ErrorDocument 500 ca

Re: 404s not being handled correctly

2006-01-05 Thread Michael Smith
Hi Gerald,The tests all passWhen I have optReturnError not set (EMBPERL_OPTIONS=0) and no ErrorDocument directive I see the 'internal server error' I sent before.When I have optReturnError (EMBPERL_OPTIONS = 262144) and ErrorDocument set then I see the page for ErrorDocument 500 directive rather th

404s not being handled correctly

2006-01-03 Thread Michael Smith
I saw something similar to this a while back on the list, but I'm still having problems with Emberl 2.1.0When I access a non-existant epl file I see this in the browser:--Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Plea

Setting escmode for command line invocation

2005-04-08 Thread Michael Smith
ot be escaped. In v2 there's no ScanEnvironment, so how can I best achieve the same effect, without changing all of the above to [+ do {$escmode = 0; printSomeJavascript } +] Thanks Michael Smith - To unsubscribe, e-ma

Profiling embperl applications

2005-03-29 Thread Michael Smith
Does anyone have experience doing profiling on embperl applications? I've tried profiling embperl (2.0rc3) with Apache::DProf but see the following error: [Tue Mar 29 14:52:19 2005] [error] [1835]ERR: 24: Error in Perl code: panic: Devel::DProf inconsistent subroutine return at .../perl-5.8.6/l

Re: Calling in known HTML files

2005-03-18 Thread Michael Smith
Thanks - that was just what I needed to know! Have a good weekend, embperlers On Fri, 18 Mar 2005 09:22:04 +1100, Gavin Carr <[EMAIL PROTECTED]> wrote: > Hi Michael, > > On Thu, Mar 17, 2005 at 09:44:38PM +, Michael Smith wrote: > > I must apologise because I've

Calling in known HTML files

2005-03-17 Thread Michael Smith
I must apologise because I've asked this question before but can't find the answer. I have some HTML files that I want to present within an epl page. I can do this with Execute, but I presume I'll get a small performance improvement if I can avoid it being processed by Embperl. How can I tell Em

Checking embperl files for correct syntax

2004-12-30 Thread Michael Smith
I am currently in the process of upgrading from an early Embperl 2 beta to the latest release candidate. The biggest change I notice is that where I had previously got away with [+ $a; $b +], this is no longer allowed, and instead I need [+ do {$a; $b} +] The change is obviously fairly simple, bu

weird escmode behaviour

2002-07-04 Thread Michael Smith
Title: weird escmode behaviour Hi there, I wonder if anyone (well, Gerald probably) could explain this unexpected behaviour when I run embperl in two slighly different ways: I have in my environment EMBPERL_ESCMODE=0.  When I run "embpexec.pl escmode.epl" (where escmode.epl just outputs $es

RE: embperl after a rewrite

2001-12-19 Thread Michael Smith
work unless I have PerlSetEnv EMBPERL_FILESMATCH = "epl". Cheers Mike -Original Message- From: Gerald Richter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 2:46 PM To: Michael Smith; Embperl Subject: Re: embperl after a rewrite > > But if I put a rewr

RE: embperl after a rewrite

2001-12-19 Thread Michael Smith
:[EMAIL PROTECTED]] Sent: Wednesday, December 19, 2001 2:56 PM To: Michael Smith; Embperl Subject: Re: embperl after a rewrite > > What I meant was > > RewriteRule ^/foo /docroot/filename.epl > > so that asking for http://servername/filename.epl would give what we want >

embperl after a rewrite

2001-12-19 Thread Michael Smith
Dear All, I'm having some trouble configuring apache to recongnise embperl files that are executed after a rewrite. I've got this working with some configs but not others - but haven't been able to work out what the difference is. The standard way to configure does work, in that if I have this

Restricting what files can be Executed

2001-08-06 Thread Michael Smith
Dear All, Is there a way I can set in the web server configuration, which files can be run through HTML::Embperl::Execute (to stop a developer being able to give away password files and so forth)? I imagine being able to give a list of acceptable directories would be the answer. Mike http://ww

RE: Embperl 2.0b3 logging

2001-08-06 Thread Michael Smith
Sent: Friday, August 03, 2001 10:07 AM To: Michael Smith; [EMAIL PROTECTED] Subject: Re: Embperl 2.0b3 logging >Having upgraded to embperl 2.0b3 I find masses of logging in >/tmp/embperl.log despite having EMBPERL_DEBUG set to 0 (and EMBPERL_LOG set >to /dev/null). Has anyone else exper

Embperl 2.0b3 logging

2001-08-02 Thread Michael Smith
Having upgraded to embperl 2.0b3 I find masses of logging in /tmp/embperl.log despite having EMBPERL_DEBUG set to 0 (and EMBPERL_LOG set to /dev/null). Has anyone else experienced this or know how to stop it? Thanks Michael http://www.iii.co.uk Interactive Investor International is a leading

embperl 2.0b3_dev and [- on first line

2001-04-26 Thread Michael Smith
Hi Gerald - and anyone else using embperl 2.0 We've found out that a [- on the first line of an epl file seems to be ignored. So that for example this file: -- [- Execute('x.epl') -] -- gives no output, whereas this file -- [- Execute('x.epl') -] -- gives the output you would expect. I gue

Re: Embperl in Authentication Phase

2001-03-27 Thread Michael Smith
> > Well what was happening was this > > > > $escmode=0; > > [- Execute("") -] > > > > and it turned out that within the component $escmode was not zero. I > > managed to get round it easily enough, by setting $escmode in the > component. > > But it's odd it didn't seem to get passed. Maybe

Re: Embperl in Authentication Phase

2001-03-26 Thread Michael Smith
> > namely that my characters are being escaped; for example & is being > converted in to &. > > In normal embperl I'm able to turn this off with a simple $escmode=0, but > this doesn't seem > > to have any effect under AuthCookie. > > This should work under AuthCookie as well. Try to read back

Embperl in Authentication Phase

2001-03-23 Thread Michael Smith
Dear All,   I'm using embperl in the authentication phase, via Apache::AuthCookie to produce a login page.  It actually works pretty well but I'm experiencing one problem that I can't seem to get round - namely that my characters are being escaped; for example & is being converted in to &. 

Re: embperl and mod_gzip

2001-02-25 Thread Michael Smith
>> It turned out that a new version released at around the same time I >> encountered the problem fixed it! >> > >Great! Could you send us the snipset of your configuration that was >necessary to get it work with Embperl. I guess this would be interesting for >more people (including me :-) Well

Re: embperl and mod_gzip

2001-02-25 Thread Michael Smith
TED]> To: Michael Smith <[EMAIL PROTECTED]>; [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: 15 February 2001 04:57 Subject: Re: embperl and mod_gzip > > >>Has anybody managed to successfully get embperl and mod_gzip to work >together? I've managed to get mod_

embperl and mod_gzip

2001-02-14 Thread Michael Smith
Has anybody managed to successfully get embperl and mod_gzip to work together?  I've managed to get mod_gzip to work on static html files but can't get it to work with Embperl files.   I've tried a couple of variants:   mod_gzip_item_include !perl-script mod_gzip_item_include !.epl   But they

Re: Sessions within embperl

2001-02-07 Thread Michael Smith
Yup, the problem with DBD-Oracle was that AutoCommitting of blobs didn't work. From Tim Bunce: -- Ah, there are issues with BLOBS and AutoCommit. Hack the source: Near the top of post_execute_lobs(): D_imp_dbh_from_sth; SV *dbh = DBIc_MY_H(imp_dbh); And at the very bottom of the function:

Re: EMBPERL_COOKIE_NAME not working quite right?

2001-01-29 Thread Michael Smith
> I guess your problem is more a mod_perl problem. Sometimes, I never have > really found out when, mod_perl does set environment variables correct. That > occurs (not always!) if you have for example one var in your main > configuration outside of any container and another var inside a container

Re: EMBPERL_COOKIE_NAME not working quite right?

2001-01-12 Thread Michael Smith
I should have said - that's what I'm doing, but it doesn't seem to do the trick. How would epmain.c get hold of this variable? Mike - Original Message - From: "Krassimir Slavchev" <[EMAIL PROTECTED]> To: "Michael Smith" <[EMAIL PROTECTED]>

EMBPERL_COOKIE_NAME not working quite right?

2001-01-12 Thread Michael Smith
Dear All,   I'm experiencing some weird problems with trying to set EMBPERL_COOKIE_NAME to something other than EMBPERL_UID.  I have had this working on our production systems for some time, but for some reason when we've started to use more complicated data structures, it appears to have com

Re: embperl + oracle sessions -- solved.

2000-12-22 Thread Michael Smith
When I investigated this whole thing, it turned out that DBD-Oracle doesn't autocommit BLOBs - to get it to work I had to get a patch to DBD-Oracle from Tim Bunce. Mike - Original Message - From: "Gerald Richter" <[EMAIL PROTECTED]> To: "Eitan Suez" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]

Re: robots and sessions

2000-11-14 Thread Michael Smith
- Original Message - From: "Gerald Richter" <[EMAIL PROTECTED]> To: "Michael Smith" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, November 14, 2000 11:50 AM Subject: Re: robots and sessions > > > > Having tested sessions (via

robots and sessions

2000-11-14 Thread Michael Smith
Dear All, Having tested sessions (via Embperl and Apache::Session) I have discovered an awful lot of rows in my database being created by robots. My assumption is that the robots don't support cookies so every time they hit a page on the site a new session is created in the database. When they tr

Re: Content length errors

2000-11-11 Thread Michael Smith
-Original Message- From: Gerald Richter <[EMAIL PROTECTED]> To: Michael Smith <[EMAIL PROTECTED]>; [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: 10 November 2000 20:13 Subject: Re: Content length errors >> Having upgrade from 1.2 to 1.3b6, I see some odditie

Content length errors

2000-11-10 Thread Michael Smith
Having upgrade from 1.2 to 1.3b6, I see some oddities with Content-Length, which never seems to match the size of the data being downloaded. Even when I create a file 'x.epl' which contains just the letter x, accessing through curl gives this: [91]> curl -i http://server:9181/x.epl HTTP/1.1 200

Trouble with sessions

2000-11-02 Thread Michael Smith
acle. I also tried EMBPERL_SESSION_CLASSES=DBI Null but that caused an even more catastrophic panic: restartop Any help ... or even ideas, very much appreciated. Michael Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Short And Log Sessions

2000-09-22 Thread Michael Smith
Well I seem to be finding it easier than some to get sessions up and running. But I'm wondering how to cope with the different demands of sessions. Firstly I need long term sessions - so I could do something like Amazon and welcome people back to the site with their name on the home page. But a