st 2007. It
will probably get you 95% of the way there :)
Hi all,
As part of migrating a large embperl site from HTML::Embperl I ended up
whipping up a quick script to convert plus blocks and foreach loops to
the format required by Embperl 2.x.
There are still other issues as I work through
Hello,
How can do a perl regular expresion for search and replace blocks like
[+ command1 ; command2; command3 +]
with
[+ do { command1 ; command2; command3 } +]
We try with some like this :
cat file.epl |perl -na -e'if ($_ =~ m/\[\+( *.+? *)\+\]/g ){ print "
do {$1}\n"} ;'
But
Hi,
>
> We are currently trying to upgrade Apache1 to Apache2.
> In Apache1, we are using Apache::SSI with
>
> One more question, if I may. Is there a place were should I
> be looking for documentation on 2.x. The docs for 2.x at:
> http://perl.apache.org/embperl/pod/doc/Embperl.htm
> ...don't seem to cover much of the features I've been looking
> for (such as Embperl_Syntax) so I end up looking at t
>
> Can Embperl version 2 run under Apache 1.3.x or do I have to
> upgrade to Apache 2? Thanks!
>
Embperl 2 works under Apache 1.3 and Apache 2. You can use both.
Only on Windows only Apache 1.3 is supported
Title: Embperl 2 and Apache 2
Can Embperl version 2 run under Apache 1.3.x or do I have to upgrade to Apache 2? Thanks!
Hi,
>
> What is the timeframe for Embperl 2.0 final/gold/whatuwannacallit?
>
> If I didn't misunderstand, mod_perl 2 is finally final, so
> Embperl 2 has a chance to becoming same. Can you (well,
> Gerald, I believe) make a guesstimate about when it will be so?
&
Hi
What is the timeframe for Embperl 2.0 final/gold/whatuwannacallit?
If I didn't misunderstand, mod_perl 2 is finally final, so Embperl 2 has a
chance to becoming same. Can you (well, Gerald, I believe) make a guesstimate
about when it will
Hi
What is the timeframe for Embperl 2.0 final/gold/whatuwannacallit?
If I didn't misunderstand, mod_perl 2 is finally final, so Embperl 2 has a
chance to becoming same. Can you (well, Gerald, I believe) make a guesstimate
about when it will
Hi
>
> > do you have LoadModule embperl_module "/path/to/Embperl.so"
> in apache
> > config?
>
> Thanks for the advice.
>
> I did include it in the configuration file, but it is alas
> one of the files that SUSE decides to overwrite on startup.
> It wants to do some magic so I have to do so
Hi
> do you have LoadModule embperl_module "/path/to/Embperl.so" in apache
> config?
Thanks for the advice.
I did include it in the configuration file, but it is alas one of the files
that SUSE decides to overwrite on startup. It wants to do some magic so I
have to do some un-magic so it can
>
> > Alas, Novell doesn't include Embperl with its distribution. It does
> > however have Apache 2 and mod_perl 2. How dificult is it to get
> > Embperl 2 to run on top of that?
>
> SUSE 9.3 with apache2, apache2-devel. mod_perl 2 and either
> apache-prefo
Kaare Rasmussen wrote:
# make test
If I ignore the test and just make install, it sort of works. Strange thing is
that
EMBPERL_APPNAME freemoney
EMBPERL_OBJECT_BASE base.tepl
EMBPERL_URIMATCH "\.htm.?|\.epl$"
EMBPERL_SESSION_HANDLER_CLASS "no"
EMBPERL_FILESMATCH "\.htm.?|\.epl$"
> # make test
If I ignore the test and just make install, it sort of works. Strange thing is
that
EMBPERL_APPNAME freemoney
EMBPERL_OBJECT_BASE base.tepl
EMBPERL_URIMATCH "\.htm.?|\.epl$"
EMBPERL_SESSION_HANDLER_CLASS "no"
EMBPERL_FILESMATCH "\.htm.?|\.epl$"
results in a startup mess
> Alas, Novell doesn't include Embperl with its distribution. It does however
> have Apache 2 and mod_perl 2. How dificult is it to get Embperl 2 to run on
> top of that?
SUSE 9.3 with apache2, apache2-devel. mod_perl 2 and either apache-prefork or
apache-worker doesn't s
Hi
Any easy installation guide for this combination?
Alas, Novell doesn't include Embperl with its distribution. It does however
have Apache 2 and mod_perl 2. How dificult is it to get Embperl 2 to run on
top of that?
---
downloaded and installed Embperl via PPM again, using the
> following command:
>
> ppm http://theoryx5.uwinnipeg.ca/ppms/Embperl-1.ppd
>
> (The name "Embperl-1" stands for "Embperl 2 for mod_perl 1.x.")
Unfortunately, the "Embperl-1" package is for Embper
eg.ca/ppms/Embperl-1.ppd
(The name "Embperl-1" stands for "Embperl 2 for mod_perl 1.x.")
Then I restarted Apache and tested it again, just to be sure. Still worked fine.
Next, I edited httpd.conf again and added the following lines:
PerlModule Embperl
Hi,
> after only just about three years of waiting, I now have Embperl 2
> up
> and running. I'm a bit slow, I know, but not that much - I misseed
> only about 7 betas of Embperl 2 ;-) (sorry, Gerald, I couldn't resist)
>
I should have made a new beta for every chan
Hello,
after only just about three years of waiting, I now have Embperl 2 up
and running. I'm a bit slow, I know, but not that much - I misseed only
about 7 betas of Embperl 2 ;-) (sorry, Gerald, I couldn't resist)
I reread README.v2, it's great, but is there any more docs?
> my $s = Apache->server;
>
I think this have been renamed in mod_perl 2. Using Apache::compat might
solve your problem.
If not, the mod_perl mailing list is a better place to ask
Gerald
--
Gerald Richter ecos electronic commu
Hi!
I'm having trouble getting doing some perl configuration within
in httpd.conf with Apache 2 and mod_perl 2 (both latest
version as of today). Using this do not work:
use Apache::DBI;
use Snowfall::Database3;
use Apache::PerlSections ();
use Apache::ServerUtil ();
use Apache::Server;
my $s =
2.1. So for now you
can only use Apache 1, mod_perl 1 and Embperl 2 on Windows, this works but
is a little slower, than the threaded Embperl version will be.
Gerald
P.S. Please send any furter questions to the Embperl mailing list (unless
you re
>
> i have this file:
> this is the title
>
>
> special chars in spanish:
> áéíóú
>
> if i save this file using UTF-8 and i get it using embperl 2 i see
> this: special chars in spanish: áéÃóÃ
>
> if i save the file using ISO-8859-1 everything works fi
Hi all:
i have this file:
this is the title
special chars in spanish:
áéíóú
if i save this file using UTF-8 and i get it using embperl 2 i see this:
special chars in spanish: áéÃóÃ
if i save the file using ISO-8859-1 everything works fine(but what happen
with thecharset?).
if i change
>Thanks Gerard. If worst come to worst, I could always go back to Apache
1.xx and Embperl 1.xx.
>Any idea of an ETA for Embperl 2.xx for Windows
>platform?
Embperl 2 runs on Windows, but only with mod-perl 1.x and Apache 1.3
It's hard to say when it will work with Apache 2
>
> I've been out of the loop for a few months so I'm not too sure what's up
> right now..but...
>
> My webserver is running "Embperl/2.0b9_dev-3". Are there any significant
> updates since this build? If so, where can I obtain these updates? Do they
> break anything functional in the prior release
st
Sent: Thursday, May 29, 2003 12:35
PM
Subject: Troubles with Embperl 2 latest
CVS versions instalations
Hi All,
I have troubles with installation of the Latest
Embperl2 CVS snapshots on my server
My configuration: Linux LFS built for
i686-linux
Apache/1.3.27 (Unix
Hi All,
I have troubles with installation of the Latest
Embperl2 CVS snapshots on my server
My configuration: Linux LFS built for
i686-linux
Apache/1.3.27 (Unix) mod_perl/1.27 mod_ssl/2.8.14
OpenSSL/0.9.7b
Perl, v5.8.0
Latest DBD::Pg and DBI
On this configuration Embperl 1.3.6 works p
At 12:40 PM -0500 11/1/02, Ilia Lobsanov wrote:
I'm attaching a file which demonstrates a bug in Embperl 2.0b8 -
2.0b9-dev3
When run via embpexec.pl, the html output contains '>' at the
end, which shouldn't be there.
I saw something similar recently and was about to report it when I
discovered
I'm attaching a file which demonstrates a bug in Embperl 2.0b8 -
2.0b9-dev3
When run via embpexec.pl, the html output contains '>' at the
end, which shouldn't be there.
ilia.
[-
%subjects = ( "Var1" => 'foo',
"Var2" => 'bar');
-]
[$ sub generate_subject_options $]
[$ foreach $name (
On Thu, Aug 22, 2002 at 11:53:32AM +0200, Gerald Richter - ecos gmbh wrote:
> Apache::Session uses a hash function to select a semaphore out of a array.
> It may cause the the deadlock if both %udat and %mdat use the same one. If I
> have it right in mind per default we have 32 semaphores, to whic
>> [+ $mdat{cnt}++ +]
>>
>> Does it work or do you get the same problems?
>Ah, ok, that works. But the problem returns as soon as I have
>both udat and mdat in the page. Maybe it is Apache::Session or
>Apache::SessionX getting confused about having two session id's for
>one page and only one semap
On Thu, Aug 22, 2002 at 06:52:45AM +0200, Gerald Richter wrote:
> Strange, %udat and %mdat are handled excatly the same, they just get a
> different session id.
>
> If you make a very simple page which just contains
>
> [+ $mdat{cnt}++ +]
>
> Does it work or do you get the same problems?
Ah, o
>>
>> Seems like a problem with semaphores inside of Apache::Session. You may
try
>> to remove the semaphore with ipcrm so it gets recreated (you can view it
>> with ipcs).
>
>Well, exactly that seems to be the case. As soon as I kill the
>semaphore with ipcrm the page is displayed correctly, even
On Tue, Aug 06, 2002 at 06:36:02PM +0200, Gerald Richter wrote:
> > I have Apache::SessionX installed and
> > Embperl_Session_Config "File Semaphore"
>
> You don't need this when you have made it the default during
> Apache::SessionX Makefile.PL run
>
> > as the only session configuration option
Hello,
>
> is there a definitive list of dependencies for Embperl2.
>
> I need to set it up on RH7.x,
> if anyone has a recipe I'd be grateful (more RPMs than self compiled is
> better). will it work on Apache1/mod_perl1?
>
Apache 1 and mod_perl 1 is ok. Perl 5.005 is required. If you want to run
> [3332]ERR: 26: Logfile /tmp/embperl.log open error: Permission denied
> [3332]ERR: 66: Embperl Session handling DISABLED because of the following
> error: Can't locate Apache/SessionX.pm in @INC (@INC contains:
> /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
> /usr/lib/perl5/site_p
When I try to run a page I've written with EmbPerl 2.0b7 I get the following:
[3332]ERR: 26: Logfile /tmp/embperl.log open error: Permission denied
[3332]ERR: 66: Embperl Session handling DISABLED because of the following
error: Can't locate Apache/SessionX.pm in @INC (@INC contains:
/usr/l
>
> That does look like it has the functionality, although I the
> macro-substitution perl-code-as-a-string model doesn't look fun to
> parse.
This is the way Embperl compiler currently takes it syntax definitions. Also
it not always looks very nice, it's optimized so that most of the action is
m
>
> This reminds me of something else I'd been meaning to ask. Have you
> considered some type of meta-directive that could be placed at the
> top of a file and would specify the recipe with which it should be
> processed? Currently the caller decides this, but this would allow
> you to make the
At 1:36 PM +0100 3/13/02, Gerald Richter wrote:
>You can define a syntax module that is derived from Embperl::Syntax::HTML,
>this would could contain something like
>
>
>sub new
>
> {
> my $class = shift ;
>
> my $self = Embperl::Syntax::HTML::new ($class) ;
This reminds me of somethi
Hi,
yes, of course there is hope :-)
>
> Here's what I'd like to be able to do, making up some syntax on the
> fly. (Including a new kind of sub declaration, but you get the idea.)
>
> Home
>
> [$ sub pagelink($tagname, $tagarray, $taghash, $tagstring,
> $content, $endtag) $]
>
H
Site templates often contain page-specific code. Tools like
DreamWeaver don't deal with this well (eventually they'' need
design-time conditionals, but they aren't there yet). Embperl deals
with it fine, but
As an example, a page might have a navigation element that appeared as
Ho
> I got this to work nicely inside an epl file:
>
> Execute ({
> inputfile => 'test.xml',
> recipe => 'EmbperlXalanXSLT',
> xsltstylesheet => 'test.xsl'
> }) ;
>
> But what i really want to do is something lik
Hi,
Does anyone know where i could find some examples of how recipes are used.
I've looked over the recipes that come with embperl 2, but it doesn't really
say how to use them. I've also looked at the perldoc of Recipes, but I
remain confused. I got this to work nicely ins
> The increasingly ubiquitous Java also can translate to
> cheaper in-house or out-sourced support for a product.
> What do you suppose the ratio of Java to Embperl
> programmers is? I don't think you can count the Perl
> CGI programmers out there as Embperl programmers since
> they must
>
> Gerald's response has me considering doing production
> sites in 2. I agree that Embperl is as good for some
> applications and even better for many. However, I
> need to sell my product and services. Java and XML
> are words everyone knows and associates with some kind
> of revolutionary a
> Then use Embperl and not Java. As far as I can see
> it there is
> only one reason to use JSP at all (at least if you
> know Perl
> already): If you have an existing Codebase from a
> standalone Java
> app and just want to change the GUI layer to
> something
> web-based. Ok, and maybe some inter
On Wed, Jan 09, 2002 at 12:19:11PM -0800, Jarrod Stenberg wrote:
> use this to model, prototype and demo, then I'd build
> the sites in Java/JSP. Thing is, I move very slowly
> in Java.
Then use Embperl and not Java. As far as I can see it there is
only one reason to use JSP at all (at least if
very slowly
> in Java. I'm tempted to make production sites in
> Embperl 2 instead. PHP is an option, but I have
> always been skeptical of it.
>
Why would you like to use Perl only for prototyping and then move to Java?
What are the benefits of Java for you, especialy when you n
perl
will permit me to do this quickly. My thought was I'd
use this to model, prototype and demo, then I'd build
the sites in Java/JSP. Thing is, I move very slowly
in Java. I'm tempted to make production sites in
Embperl 2 instead. PHP is an option, but I have
always been skeptical
Hi,
> I've been working at converting to Embperl 2.x but I am running into a
> problem. It seems that when I use the $escmode=0 option there is a
> significant delay in serving the request to the client (actually, the
delay is
> at the end). The client seems to just
Hello,
I've been working at converting to Embperl 2.x but I am running into a
problem. It seems that when I use the $escmode=0 option there is a
significant delay in serving the request to the client (actually, the delay is
at the end). The client seems to just hang waiting for some
> Does Embperl 2 beta run on Apache 2.0 / mod_perl 2.0 (betas)?
>
Not yet.
Apache/mod_perl 2.0 has a different API and a different build system.
Embperl has to be adapted to that.
It's on the todo list
Gerald
-
Ger
Does Embperl 2 beta run on Apache 2.0 / mod_perl 2.0 (betas)?
Regards
Lukas Zapletal [[EMAIL PROTECTED]]
BACH systems Ltd. [www.bach.cz]
web programmer
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
gt; bug #2
>
> i coldn't execute an embperl script with 'embpcgi.pl'.
> i got allways only a '<' from the webserver (i used apache).
> the script was:
>
I never have tested CGI mode in Embperl 2. This is an open issue and I think
will be solved in 2.0b4
>
te bad
html syntax.
you could use LWP (Lib-www) and a html validator found here www.w3.org
to procativaly test the output of your dynamic pages.
Jeff
On Mon, May 14, 2001 at 02:18:49PM +0100, Matthew Freake wrote:
> This isn't so much a bug in embperl 2, as it is a lack of an expected e
> [$ else $]
>
...
> When this page is displayed, no error is thrown up and the output is all
the
> html except that which would have come out of the buggy if statement.
>
I know that the error reporting of Embperl has to be improved, but such an
error is hard to catch. The above code becomes o
This isn't so much a bug in embperl 2, as it is a lack of an expected error
message
I have the following script:
[-
$table_type=2;
-]
[$ if ($table_type == 1) $]
One kind of table
Another kind of table
[$ endif $]
NOTE the missing close angle bracket on the first tag !
> > I guess this will be issue for Embperl 2, were it is very easy
> to define new
> > tags and their behaviour and which includes the possibility for
> switching
> > between different tag sets.
>
> Do you have a place where to see the planned features for Embperl
> I guess this will be issue for Embperl 2, were it is very easy to define new
> tags and their behaviour and which includes the possibility for switching
> between different tag sets.
Do you have a place where to see the planned features for Embperl 2? Some of
the things you mention
62 matches
Mail list logo