Hi Benni,
> From: Benni Bärmann [mailto:be...@obda.de]
> Sent: Monday, 24 September 2012 6:36 AM
> Hi!
>
> I am in search for an embperl emacs mode or another IDE which supports
> the perl/html/embperl-mix in embperl-Scripts. At
>
> http://perl.apache.org/embperl/en/db/sites/editors.-category_i
Hi all,
[apologies for the html format - I'm sending from a work webmail client]
> - Embperl is deleted from Debian testing (Wheezy, 7.0) and Ubuntu 12.04.
> Is there any hope that it will get back in Wheezy? I saw some discussion
> here about this issue, but could not figure out, if there is any
> From: Thompson, John [mailto:jth...@midwestern.edu]
> Sent: Tuesday, 27 July 2010 2:47 AM
Hi John,
> I am attempting to use the Execute({ object => '...' })
> feature but am seeing strange results. Here are my two files:
Firstly, test.epl does not do what you think it does. It should read:
Hi Michael,
> Thanks for the email. I'm actually using @param to return
> data (as well as the HTML) to the epl script which is calling
> another one via Execute. Perhaps there's a better way.
I think you may just be missing one piece of the puzzle: using
references with the param argument t
Hi John,
> -Original Message-
> From: Thompson, John [mailto:jth...@midwestern.edu]
> Sent: Wednesday, 23 June 2010 5:31 AM
> Ok so I figured out that the Execute( param => ... ) still
> goes into @param not @_. Any idea why the ( object =>
> $template ) isn't working?
I use the foll
Hi Mario,
> 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 ){ pri
George,
To save searching through the docs, here's how to turn off embperl's
form/table/html parsing and just process the various types of code
blocks.
[$ syntax EmbperlBlocks $][# turn off special HTML processing #]
Do funky table stuff here
[$ syntax Embperl $][# back to normal #]
Cheers,
> Richter, Gerald wrote:
> > The best would be, if we had a packages maintainers for the main
> > distrubtions (like Debian, SUSE, RedHat etc.) which knows
> about their
> > distribution (because I do not know all the specifica of all these
> > distributions)
>
> Wasn't Angus Lees doing that
> -Original Message-
> From: Thompson, John [mailto:jth...@midwestern.edu]
> Sent: Thursday, 3 September 2009 6:07 AM
>
> Is there any variable that I can set that would tell dump to
> sort the keys of a hash alphabetically (Like Data::Dumper)?
Not as far as I can see from the docs.
B
Hi Doug,
> From within one request, I'm trying to Execute() an HTML
> template from
> another part of the application. That template is dependent
> on App object
> methods defined in the _app.pl that is in the same directory
> as the HTML
> template. However, the Execute() seems to use th
Hi Kee,
> I actually have a library that integrates Embperl into Catalyst so
> that you ca use it instead of the default system (Template
> Toolkit).
> Embperl is faster and uses less memory than TT. I have the module
> working in a production site, and while it needs documentation and
Hi all,
> I've been using Embperl since 2000 to run
> www.crazyguyonabike.com. This
> started off as a single journal of my bicycle tour across America in
> 1998. I wrote it using Embperl, and developed it so other
> people could
> also put their journals up. Over the years I've added forums
Hi Neil,
> I am seeing errors in my apache logs which appear to be
> within Embperl
> code, and yet the error line numbers do not match up with
> what is in the
> code. For example, I might see
>
> Can't call method "prepare" on an undefined value at line 182
> in Docs.epl
>
> But at line
Hi Ed,
> > Are any of the following useful to you (even if you set a variable
> > using the shutdown callback to forcibly stop the preload?) in
> > Apache2::ServerUtil?
> >
> ># register server shutdown callback
> >Apache2::ServerUtil::server_shutdown_register_cleanup(sub {
> > Apache2::C
Hi Neil,
> I am now using Apache2.2, mod_perl 2 and Embperl 2.3. I am also
> preloading my Embperl code via startup.pl, and finding that
> "apachectl
> stop" seems to call my preload routine even when shutting
> down apache,
> which makes it take an absurdly long time to cycle the server whe
Hi Neil,
> There definitely seems to be some kind of problem with the current
> binary Embperl package included with Lenny. All I did was
> build Embperl
> from the Debian source (using the standard build procedure,
> rather than
> the "debian way") and everything "just worked". No changes t
Hi Ed,
> As I understand it, Debian's freezes, like most software freezes I'm
> aware of, are 'except for bug fix' freezes. If that is correct, then
> the period right before the freeze is actually the *least* stable, not
> the most stable.
While I've never had any issues at any point in the re
Hi Neil,
We use debian lenny and for a while we were running locally compiled
versions of 2.2.0 with this patch applied:
http://www2.ecos.de/~mailarc/embperl/2007-07/msg00016.html. I can't
recall any problems with the package rebuild process. It was basically:
a) apt-get source libembperl-perl
b
Hi Frank,
> set Embperl_Syntax to "EmbperlBlocks" to prevent Embperl from
> processing HTML-Tags
> http://www.ecos.de/embperl/pod/doc/Config.-page-2-.htm#sect_62
Thanks for that - I was under the impression that this was file-wide
rather than something that could be selectively applied in blo
Hi Michael,
> Can someone please clarify how I prevent 'selected' being
> automatically added to selects? Here's my embperl file:
> What happens is that once you submit the form, 'selected' gets
> automatically added to the relevant option tag.
>
> How can I prevent this, and set it (or not se
Hi Jon,
> I've read up on this a bit, and it seems that I should be
> able to do this:
>
> $ENV{'EMBPERL_SESSION_HANDLER_CLASS'} = 'no';
>
> In my CGI or at least set the environment variable for apache
> and put this is my httpd.conf
>
> PassEnv EMBPERL_SESSION_HANDLER_CLASS
>
> Neither of
Hi Matthew,
> I've got an .epl script that is failing to run past 30
> seconds. Here's a very simple example:
[snip]
> When I hit that it times out at 30 seconds. I've tried with
> the browser and wget (which has a 900 second default timeout
> according to the man page). I think this is ha
> On Mon, Sep 17, 2007 at 09:20:26AM +1000, Andrew O'Brien wrote:
> > What is the latest combination of apache/embperl that is
> supported by
> > your distro?
>
> Apache 2.2.6 *is* the current supported version of Apache on my distro
> (GenToo). That's why
Hi Kathryn,
> Well, I have now done the *opposite* of what you suggested,
> and that is
> to downgrade to Apache 2.0.59 and apr 0.9.12, and that seems to have
> done the trick, though it's obviously only a temporary solution.
So this was the original configuration?
I'm curious - what features
n
once
Eg: convert_embperl_files.pl -d /var/www/mysite -m '*.epl' \
-m '*.html' -e /var/www/mysite/not_embperl -v -v
--
Andrew O'Brien
convert_embperl_files.pl
Description: convert_embperl_files.pl
-
_in->{'Cookie'}:undef) ;
if ((defined ($cookie_val) && ($cookie_val =~
/$cookie_name=(.*?)(\;|\s|$)/)) || ($ENV{QUERY_STRING} =~
/$cookie_name=.*?:(.*?)(\;|\s|&|$)/) || $ENV{EMBPERL_UID} )
{
--
Andrew O'Brien
Sorry for wasting everyone's time. There are some days you just
shouldn't get out of bed ...
There was no
PerlModule Oriel::Embperl2Req
In my apache config.
I don't know why I assumed EmbperlObject would do that for me!
So the following now works:
Content of the handler class
=
ERRORS_TO "[EMAIL PROTECTED]"
Options +ExecCGI
AllowOverride None
--
Andrew O'Brien
embperl2.log.gz
Description: embperl2.log.gz
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
>
> page.epl?param1=x¶m2=y
>
> and I have a link on a page in which I also want to include param1 and
> para
> -Original Message-
> From: Frank Wesemann [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 20 April 2006 8:03 AM
> Subject: Hashes in %udat
[snip]
> Repeatedly changing the values is reflected in the respective
> pages but
> they never see the values from the other page.
>
> I found a work
Matt, perhaps you could post your one as an example (or link to it
somewhere). I know a lot has likely changed but that may help someone
get a better idea how to develop one for the current release.
--
Andrew O'Brien
> -Original Message-
> From: Matt J Cwanek [mailto:[EMAI
Your apache config was cut off but I would first think that you're
missing the following (1.3 syntax, change as necessary for 2.x):
PerlSetEnv EMBPERL_COOKIE_PATH /
--
Andrew O'Brien
> -Original Message-
> From: Dan Lenski [mailto:[EMAIL PROTECTED]
> Sent: Tuesday
> From: Daniel [mailto:[EMAIL PROTECTED]
> Sent: Friday, 24 June 2005 10:35 AM
>
> > I am a bit awed that you would go through all the effort of
> pointing to
> > two identical instances of the same opaque reference so as
> to put down ?
> > the original poster ? but don't bother to answer the
> -Original Message-
> From: Daniel [mailto:[EMAIL PROTECTED]
> Sent: Friday, 24 June 2005 5:03 AM
> Subject: EMBPERL_OPTIONS
>
> Re: http://www2.ecos.de/~mailarc/embperl/2005-03/msg00041.html
>
> "Looks like you are using Embperl 1.3. In this case you have set set
> optRawInput in EMBP
s.epl:
[-
$req = shift;
$test = shift @param;
if ($something_went_wrong) {
$$test = 1;
exit;
}
-]
--
Andrew O'Brien
Development Manager
e: [EMAIL PROTECTED]p: +61 2 9461 0114
w: www.oriel.com.auf: +61 2 9431 6700
> -Original Message-
> From: allen hai
CTED]
});
# save to DB
-]
[-
local $escmode=0;
print OUT $content;
-]
--
Andrew O'Brien
> -Original Message-
> From: Ben Kim [mailto:[EMAIL PROTECTED]
> Sent: Saturday, 2 April 2005 6:27 AM
> To: embperl@perl.apache.org
> Subject: saving snapshot of t
> From: Luiz Fernando B. Ribeiro [mailto:[EMAIL PROTECTED]
>
> On Wed, 16 Mar 2005 20:58:37 -0800, Daniel
> <[EMAIL PROTECTED]> wrote:
>
> > Is this what you use? I'm a little curious what others do
> to easily see
> > what variables contain. Maybe there's a good way I'm missing.
>
>
> In fa
allel) which means that
you're not going to get consistent data on the initial load.
I'd really suggest passing through these arguments directly. Ie
You can then use $fdat{a} etc in the subpages directly.
--
Andrew O'Brien
> -Original Message-
> From:
%fdat is a global for the life of that request, regardless of which
file is currently executing.
--
Andrew O'Brien
> -Original Message-
> From: Michael Stepanov [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 12 January 2005 6:50 PM
> To: embperl@perl.apache.org
&
Two words: database transactions.
That said, I've found that apache usually finishes processing the
request but you're better off not assuming this and dealing with
transactional failure properly in your application.
--
Andrew O'Brien
Development Manager
e: [EMAIL PROTECTED]
> From: John P. Gibbons [mailto:[EMAIL PROTECTED]
> Subject: Re: Apache virtulahosts sharing modules
>
> Andrew O'Brien wrote:
>
> >Your best bet is to have site-specific information set up at
> the embperl
> >request level. Ie have constants/whatever initi
> From: Steve Wilder [mailto:[EMAIL PROTECTED]
> Subject: Apache virtulahosts sharing modules
>
>
> Hello, all.
>
> I'm using Apache 1.3.29 and Embperl 1.3.6
>
> I've got two Apache Virtualhosts: www.benwilder, and
> rhyme.benwilder.com
>
> Both sites have a "test1.phtml" which looks l
> From: John Gibbons [mailto:[EMAIL PROTECTED]
> Subject: Re: Is there a point in using the request object for
> db connectionswhenusing Apache::DBI?
>
> >Most of the modules that I write for such applications inherit from a
> >common base database class (think home grown Class::DBI) and have
>
> > From: John P. Gibbons [mailto:[EMAIL PROTECTED]
> > Subject: Is there a point in using the request object for db
> > connections when using Apache::DBI?
>
> Hi John,
>
> (note - I use HTML::Embperl extensively and exclusively so my ideas
> may be slanted somewhat)
That should read HTML::
> From: John P. Gibbons [mailto:[EMAIL PROTECTED]
> Subject: Is there a point in using the request object for db
> connections when using Apache::DBI?
Hi John,
(note - I use HTML::Embperl extensively and exclusively so my ideas
may be slanted somewhat)
> I was reading this article:
> http:/
> -Original Message-
> From: Michael Boudreau [mailto:[EMAIL PROTECTED]
> Subject: changing location of embperl.log
>
> I'm trying to change the location of the Embperl log and not
> having any
> luck.
>
> I'm using Embperl 1.3.6 and Apache 1.3.29 on Solaris 8.
>
> I have added 'PerlS
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, 30 April 2004 4:36 AM
>
> Hello,
> I have a module which gets some data from a file and displays
> that data. The problem is the data in the file contains some
> embedded HTML tags such as and others. When I get
> and display
Firstly Rado, there is a typo in your "open" line: a missing closing ".
The only other thing I would suggest is using BINMODE. See below for an
example routine.
> In EplSite WorkFlow i am using this routine and works fine:
>
> use CGI;
> $query = new CGI;
>
> if( $file = $query->par
y not contain cached values
and that you properly expire/update the cache when appropriate. Code
that was written for once-offs may need to be slightly rewritten to take
persistence into account.
--
Andrew O'Brien
> -Original Message-
> From: Chris Allen [mailto:[EMAIL PROTECTED]
ass via the Execute
function.
Eg Execute('form.inc', $value1, $value2) or
Execute({ inputfile=>'form.inc', param=>[$value1,$value2]});
Form.inc:
[- $req = shift;
($value1,$value2) = @param; # or
$value1 = shift @param; $value2 = shift @param; -]
Hope that makes it
Apologies in advance for breaking the thread.
All CPAN developers (and the public) have access to the CPAN Request
Tracker system: http://rt.cpan.org/. I'd suggest this as a central
location that is already used successfully for many other perl projects.
--
Andrew O'Brien
e: [EMAIL
If you read the IIS setup guide I posted to the list a while back,
setting variables in a BEGIN block in the epocgi.pl file works just
fine. I've had to run embperl on IIS occasionally and I've had no
problems.
--
Andrew O'Brien
e: [EMAIL PROTECTED]
p: +61 2 9556 0100
f:
he httpd.conf to start with.
Don't know whether that helped or not :)
Maybe if you described exactly how embperl is "choking" on the image
files?
--
Andrew O'Brien
e: [EMAIL PROTECTED]
p: +61 2 9556 0100
f: +61 2 9556 0111
-
I could see for needing to compile them yourself) then all I
can say is good luck and let everyone know how you go :)
--
Andrew O'Brien
Senior Engineer email: [EMAIL PROTECTED]
Switch Online Group Pty Limited phone: +61 2 9299 1133
ABN 89
inters.
Gerald:
The emacs mmm-mode links should really be updated to point to
http://mmm-mode.sourceforge.net/
--
Andrew O'Brien
Senior Engineer email: [EMAIL PROTECTED]
Switch Online Group Pty Limited phone: +61 2 9299 1133
ABN 89
gt;
>
> base.html:
>
>
> [- Execute ('*') -]
>
Your image data will be surrounded in tags here.
> somepage.html:
>
> [-
> $req = shift;
> $dbh = $req->{dbh};
$escmode=0;
> $http_headers_out{'Content-Type'} = "image/gif";
>
pace in this file as this will
get sent to the browser, ie the first and last characters are [ and
].
--
Andrew O'Brien
Senior Engineer email: [EMAIL PROTECTED]
Switch Online Group Pty Limited phone: +61 2 9299 1133
ABN 89 09
LWP and do your own request during the normal course of your pages
execution.
If this isn't required to be perfectly dynamic then scheduling an
offline run every X minutes to put the output somewhere in your web
tree to be included in your page would perhaps be of less load.
--
Andrew
t; whenever I add new boilerplate files I have to go into each subdirectory and
> add the symlinks.
If you want common base files for a lot of things then have a look at
EMBPERL_OBJECT_ADDPATH
I usually have this directory within the document tree but I don't
think thats necessary (o
should ask you for configuration information
during the make sequence (read the docs beforehand so you know what to
expect and what answers go with what)
--
Andrew O'Brien
Senior Engineer email: [EMAIL PROTECTED]
Switch Online Group Pty Limited phone: +61 2 9299 1133
ion (for support personnel)
>
>
> Background:
> You have attempted to execute a CGI, ISAPI, or other executable program from
> a directory that does not allow programs to be executed.
>
>
> More information:
> Microsoft Support
>
> *********
-
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PRO
money using embperl? It's only fair to contribute
back when there's a need!
Gerald - looks like you need to set up that paypal account and give us
a target :)
--
Andrew O'Brien
Senior Engineer email: [EMAIL PROTECTED]
Switch Online Group Pty Limited phon
in the first place before the page gets sent to
the browser.
--
Andrew O'Brien
Senior Engineer email: [EMAIL PROTECTED]
Switch Online Group Pty Limited phone: +61 2 9299 1133
ABN 89 092 286 327fax:
On Mon, Mar 25, 2002 at 11:51:32PM +, Earwig wrote:
> On Tue, 26 Mar 2002, Andrew O'Brien wrote:
[snip]
> 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. Run
to get at SMB info in Perl
> without going to all the trouble of mounting the share...
Depends on what sort of info you need. If you're talking about
browsing files/directories then I would assume you need it to be
mounted.
--
Andrew O'Brien
Senior Engineer email: [E
Attached. Updated to reflect the ppm packages kindly provided by Randy
Kobes.
--
Andrew O'Brien
Senior Engineer email: [EMAIL PROTECTED]
Switch Online Group Pty Limited phone: +61 2 9299 1133
ABN 89 092 286 327fax: +61 2 9299 1134
home
and this might be the simplest solution if they're forced to run
embperl under IIS.
Cheers
--
Andrew O'Brien
Senior Engineer email: [EMAIL PROTECTED]
Switch Online Group Pty Limited phone: +61 2 9299 1133
ABN 89 092 286 327fa
On Tue, Mar 19, 2002 at 08:14:36PM +1100, Andrew O'Brien wrote:
> Help! :)
Isn't that always the way? Got it working 5 minutes after I sent this
email.
The problem was that I had associated .epl files with
"c:\inetpub\scripts\embpcgi.pl".
It should have been:
"c:\
mation Services blah blah blah
.. ie I haven't set some sort of execute permission somewhere. Looking
at the properties of that folder in the Management Console, Execute
Permissions are set to "Scripts and Executables".
Help!
--
Andrew O'Brien
Senior Engineer
anging things - I haven't hit a situation that wasn't
solved either with the above or a base file that stuck an
epl-executed-to-object thingy in $req. But I may have been lucky :)
Not knowing exectly what you're trying to do, you may want to have a
look at EMBPERL_IN
On Sat, Feb 23, 2002 at 03:07:15PM +1100, Andrew O'Brien wrote:
> On Fri, Feb 22, 2002 at 06:37:33PM -0800, Scott Chapman wrote:
> > I'm finding that my form data is not preserving carriage returns. When a user
> > has a text area to fill in that is multiple lines,
saving the output somewhere and so having a maximum column width is
useful.
--
Andrew O'Brien
Senior Engineer email: [EMAIL PROTECTED]
Switch Online Group Pty Limited phone: +61 2 9299 11
t the same time then data in %udat should be
persistent. That's what sessions are for, after all :)
--
Andrew O'Brien
Senior Engineer email: [EMAIL PROTECTED]
Switch Online Group Pty Limite
.html:
$req = shift;
# call the do_stuff() function in lib.epl
$req->{libobj}->do_stuff( @my_args );
3) You're not limited to just one. Have as many as you like. A
veritable object party!
Hope this helps.
--
Andrew O'Brien
; > etc.) with breaks in actual execution. In other words, he wants to
> > think of program execution in terms of a linear user session (as you
> > would with a GUI app) rather than a series of separate requests.
--
Andrew O'Brien
between
> to take care of the looping. If I could implement it as all one page,
> I'd do so but it doesn't look like that is possible. There doesn't
> appear to be a "stop" function that prevents the calling page from
> being returned to immediately.
A
erl API - "perldoc Apache" will give you
the documentation specific to your installed version of Apache.pm
The other one to look at is the function is_initial_req() which is
slightly different.
I use is_main() because I still want to do authentication on internal
er the next few
days to stick some debugging print statements in Embperl myself. If I
don't turn up anything really useful then I'll send a copy of an
embperl log for a request and my apache config.
About the only thing I can think of that might make a difference is
that I'm using
On Fri, Oct 12, 2001 at 07:17:10PM +1000, Andrew O'Brien wrote:
> getting it ready to go live and played with EMBPERL_MAIL_ERRORS_TO
> Everything now works great, except that I'm getting 3 copies of
> every error email. Has anyone else experienced this? The emails
t to open slather
PerlAccessHandler Apache::AuthSwitchCookie
--
Andrew O'Brien
Product Engineer email: [EMAIL PROTECTED]
Switch Online Group Pty Limited
rst example which does a fairly simple request with
POST data.
HTH
--
Andrew O'Brien
Product Engineer email: [EMAIL PROTECTED]
Switch Online Group Pty Limited phone: +61 2 9299 1133
LockSemaphore::acquire_write_lock line 100 which
# means that we must call this function even if we are proceeding on
# to Execute function ... (not as noted in perldoc HTML::Embperl?)
HTML::Embperl::Req::CleanupSession;
...
return OK;
}
Cheers,
--
Andrew
On Wed, May 23, 2001 at 11:33:20PM -0700, Michael George III wrote:
> Just in case anyone wants the solution:
>
>
> [- local $escmode=0; print OUT "\ Hello World \"; -]
>
You don't need "\<" in the string with $escmode=0, "<"
doesn't work:
It didn't look to be a quick fix from the source tho.
--
Andrew O'Brien [EMAIL PROTECTED]
http://linux.conf.au faceless organiser #3 Jan 17th-20th: Sydney, Aus
-
, this doesn't help. The problem is the parsing of the
closing block, not the opening, if I've guessed what is happening
correctly.
Esccaping -] with -]] is not a solution for the obvious reasons :)
Escaping either the -, ] or both characters in the string has the expected
error of "no cl
param => \@q }
);
@{ q[0] }->[2]; # prints "3"
-]
[+
@q = ( );
Execute ({ input => \'[+ $param[0] = [1,2,3]; "";+] Done some
substitutions on param0 ... ',
inputfile => 'Return array by reference'
87 matches
Mail list logo