hanged in EP2.
Check http://perl.apache.org/embperl/pod/doc/README.v2.txt for more
information.
I earlier in line with PerlHandler Embperl::Object have written
PerlHandler HTML::EmbperlObject but that was not working nor was
HTML::EmbperlObject was being found.
I wanted to ask what is the diff
ier in line with PerlHandler Embperl::Object have written
PerlHandler HTML::EmbperlObject but that was not working nor was
HTML::EmbperlObject was being found.
I wanted to ask what is the difference betwen writting Embperl::Object to HTML::EmbperlObject .
Also now it is searching for default file
Hi Kee,
>
> I'm pretty sure this is the right patch, but I'd like feedback.
> Also, I'm not sure whether the right approach is to use "push" or
> "unshift". As I did it, it looks like the first @isa in the template
> is the first on the stack, and the Req object is last. The latter
> sounds righ
>The "@ISA corrupted" error has been the bane of my existence for
>several years now, but I think I've finally nailed it.
Not surprisingly, not one minute after posting that I discovered a problem. Although
everything works, I'm still getting the corrupted @ISA error. This is the more
surprisi
an Execute({isa => 'tools.epl', import => 0}). That
called HTML::Embperl::Execute directly.
tools.epl did an Execute({isa => 'SiteInit.html', input => 0}). That
called HTML::Embperl::Execute directly.
SiteInit.html did an isa on help.html.
Now HTML::EmbperlObject c
>
> i have a subroutine that in some side of this is executing the next:
>
> print OUT "Task duplicated";
> $fdat{taskid} = $task_inserted;
> &display_task_form;
> &clean_exit;
>
> The warning message is not being displayed, But the html code in sub
display_task_form is being displayed correctly, d
HI all:
I am testing ebmperl object 2.0b9 ( this time i spelled ok :-) )
i have a subroutine that in some side of this is executing the next:
print OUT "Task duplicated";
$fdat{taskid} = $task_inserted;
&display_task_form;
&clean_exit;
The warning message is not being displayed, But the html
Hi all:
I am testing embperl Object from Embperl 2.09b but i saw something i do not
understand:
my base.eplo have this:
[- Execute ('config.eplo'); -]
[- Execute ('colors.eplo'); -]
[- Execute ({'isa' => 'mainfile.eplo'}); -]
[- Execute ({'isa' => 'subs.eplo'}); -]
[- Execute ('*') -]
equested file's extension. I am trying to solve the
> > same problem, without any luck.
> >
> > My setup is as follows:
> >
> >
> >
> > PerlSetVar Allow yes
> > SetHandler perl-script
> >
PerlSetVar Allow yes
> SetHandler perl-script
> PerlHandler HTML::EmbperlObject
> PerlSetEnv EMBPERL_OBJECT_BASE template.epl
> PerlSetEnv PATH " "
> Options ExecCGI
>
>
llows:
PerlSetVar Allow yes
SetHandler perl-script
PerlHandler HTML::EmbperlObject
PerlSetEnv EMBPERL_OBJECT_BASE template.epl
PerlSetEnv PATH " "
> >> On a related topic. If I do a "use somelibrary" in a template, and
> >> it imports some functions into the name space, it would be nice to be
> >> able to use them in the files that are using that template.
> >
> > Because of the different namespaces of those files this won't work,
sorry.
>
>
> Here's what I have:
>
> SiteInit.html
> [! use lib "/usr/local/PureMessaging/lib"; !]
> Template.html
> [- Execute({ isa => 'SiteInit.html' }); -]
> Template.html: [+ join(", ", @INC) +]
> [- Execute('*') -]
> index.html
> index.html: [+ join(", ", @INC) +]
>
> Running that the first time give
At 7:25 AM +0200 8/16/02, Gerald Richter wrote:
> > >> Is there any way to put a "use lib" command in a called routine (e.g.
>> >> [- Execute({ isa => 'SiteInit.html' }); -]) and have it impact later
>> >> "use" commands?
>
>use lib is global, because it affects the global @ISA, so it doesn'
> >> Is there any way to put a "use lib" command in a called routine (e.g.
> >> [- Execute({ isa => 'SiteInit.html' }); -]) and have it impact later
> >> "use" commands?
use lib is global, because it affects the global @ISA, so it doesn't matter
where you put it, it will affect all use stateme
At 8:55 AM +1000 8/16/02, Gavin Carr wrote:
>On Thu, Aug 15, 2002 at 04:12:06PM -0400, Kee Hinckley wrote:
>> Is there any way to put a "use lib" command in a called routine (e.g.
>> [- Execute({ isa => 'SiteInit.html' }); -]) and have it impact later
>> "use" commands? Any other suggestions.
On Thu, Aug 15, 2002 at 04:12:06PM -0400, Kee Hinckley wrote:
> Is there any way to put a "use lib" command in a called routine (e.g.
> [- Execute({ isa => 'SiteInit.html' }); -]) and have it impact later
> "use" commands? Any other suggestions. I hate having to put it in
> every single file.
Is there any way to put a "use lib" command in a called routine (e.g.
[- Execute({ isa => 'SiteInit.html' }); -]) and have it impact later
"use" commands? Any other suggestions. I hate having to put it in
every single file. (Right up there with [$ var $this $][- $this =
shift -] at the begi
>
> Apparently something isn't getting cleared, so the Mail::Execute fails.
>
Yes, in 1.3.x you need to clear Embperl's internal error flag:
> I also tried setting optReturnError, but that doesn't appear to do
> anything either.
You need to set optReturnError
[-
$r = shift ;
my @erro
>
> If I use the metacommands dollar-brackets, though, all is fine. Problem
is,
> however, that I unfortunately had the time to get used to PHP's way of
> interweaving with HTML with only one kind of delimiter and, moreover, I'd
> prefer to use clean Perl, so that I'
rl code to remove HTML tags
PerlSetEnv EMBPERL_OBJECT_BASE "template.html"
PerlSetEnv EMBPERL_OBJECT_FALLBACK "fallback.html"
SetHandler perl-script
PerlHandler HTML::EmbperlObject
Options ExecCGI
(as an aside, it was never made clear wether PerlMo
a new http request. When when a new http request comes in
to main/index.html EmbperlObject will make sure that your main/content.epl
will be called, so you get the layout you want.
The create a new request, you can use a external redirect e.g.
[-
$http_headers_out{'Location'} = '
> I want something like:
>
> $status = Execute({inputfile => '*'});
> if ($status) {
> where if there's an error I go to my default /error.html file, which
> can then print out all the information I'd normally get using the
> ErrorDocument directive. Barring that an internal redirect would
>
I want something like:
$status = Execute({inputfile => '*'});
if ($status) {
where if there's an error I go to my default /error.html file, which
can then print out all the information I'd normally get using the
ErrorDocument directive. Barring that an internal redirect would
At Wed, 5 Jun 2002 15:50:20 +1000, Gavin Carr wrote:
> On Wed, Jun 05, 2002 at 03:49:59PM +1000, Angus Lees wrote:
> > At Wed, 5 Jun 2002 14:37:28 +1000, Gavin Carr wrote:
> > > I've got a situation where I want to able to write lock some of my epl
> > > components and know that the locking will b
On Wed, Jun 05, 2002 at 11:20:15AM +0200, Gerald Richter - ecos gmbh wrote:
> > Yeah that handles atomic writes, but not proper atomic updates - read
> > data, modify, write, avoiding the race condition between the read and
> > the write. I think that requires proper locking?
>
> If you only have
>
> Yeah that handles atomic writes, but not proper atomic updates - read
> data, modify, write, avoiding the race condition between the read and
> the write. I think that requires proper locking?
>
If you only have concurrent reads, it should work. If you also have
concurrent writes/updates, the
On Wed, Jun 05, 2002 at 03:49:59PM +1000, Angus Lees wrote:
> At Wed, 5 Jun 2002 14:37:28 +1000, Gavin Carr wrote:
> > I've got a situation where I want to able to write lock some of my epl
> > components and know that the locking will be honoured ...
>
> just do the usual "write to a temporary f
eating them
> dynamicly? Otherwise I can't imagine for what this should be good for.
Yes, some of my .epl components are dynamic, and some I'm just wanting
to edit atomically. I'm finding all kinds of interesting (mis)uses for
your Em
Hi,
>
> I've got a situation where I want to able to write lock some of my epl
> components and know that the locking will be honoured ...
>
You want to write lock the Embperl source files? Do you creating them
dynamicly? Otherwise I can't imagine for what this should be good for.
Gerald
At Wed, 5 Jun 2002 14:37:28 +1000, Gavin Carr wrote:
> I've got a situation where I want to able to write lock some of my epl
> components and know that the locking will be honoured ...
just do the usual "write to a temporary file next to it, then rename
over the file you wanted" trick. IO::Atom
Hi Gerald,
Are you doing any explicit file locking on the reads involved in an
EmbperlObject::Execute? If not, could I make it a feature request?
Maybe an 'flock' argument to Execute or something?
I've got a situation where I want to able to write lock some of my epl
component
Hi Gerald,
On Wed, May 22, 2002 at 03:13:28PM +0200, Gerald Richter - ecos gmbh wrote:
> Look it a bug in the path searching logic. Goto Embperl.pm, line 617, which
> is
>
> $skip += $pathndx if ($skip) ;
>
> insert
>
> $pathndx = 0 if (!$skip) ;
>
> directly below this line.
>
> Does this f
>
> In cts/htdocs:
>
> requested page: empty.html
> failing header object: header.epl (Execute '../header.epl')
>
> In cts/htdocs/base:
>
> base template: base.epl
> content object: content.epl
> base header object: header.epl
> other formatting objects: style.epl, footer.epl
>
Look i
objects aren't overridden in the cts/htdocs directory, so they're
working fine.
Again, config looks like:
Options +ExecCGI
SetHandler perl-script
PerlHandler HTML::EmbperlObject
PerlSetEnv EMBPERL_OBJECT_STOPDIR "/export/opt/web/cts/htdocs"
PerlSetEnv EMB
>
> Sorry, confusing use of terms. By 'parent' I wasn't meaning a filesystem
> parent directory.
>
So your original usage of .. was correct. Basicly what you are doing seems
to be ok, but I see that it doesn't work.
Where is your base template located? Where is the page you are actually
requesti
e first entry from the PATH and
> not to really search the parent directory (also under EmbperlObject, this is
> most time the same). To get what you want write
>
> Execute('./../init.epl')
>
> this will really look in the parent directory
Sorry, confusing use of terms. By '
e if I move the child
> init.epl out of the way.
>
The ../ will cause Embperl only to remove the first entry from the PATH and
not to really search the parent directory (also under EmbperlObject, this is
most time the same). To get what you want write
Execute('./../init.epl')
Question - does
Execute('../init.epl')
search EMBPERL_OBJECT_ADDPATH directories in addition to direct parent
directories? I think it should, but it's not finding my parent init.epl in
an ADDPATH directory. It finds the parent fine if I move the child
init.epl out of the way.
This is with
On Tue, Mar 19, 2002 at 09:57:01AM +0530, Rajesh Kumar Mallah wrote:
> I have a website that is template driven and i use EmbperlObject for that.
> The problem is that all the pages share the same template (that is of course
> expected!)
> and they also share the, tags
> als
Dear Folks ,
I have a website that is template driven and i use EmbperlObject
for that.
The problem is that all the pages share the same template (that is
of course expected!)
and they also share the , tags also.
the latter is expected of EmbperlObject but is causing
problem in my
Thanks Scott for the log,
> I'm running the sample in the Intro to DBIx::Recordset. It's not too
happy!
>
> [1081]ERR: 24: Error in Perl code: syntax error at
> /www/htdocs/admin/test_rs.epl line 46, at EOF
Line 46 is
[+ $set -> PrevNextForm ('\<\\>', \%fdat) ; +]
when you search thru
> I'm running the sample in the Intro to DBIx::Recordset. It's not too
happy!
>
> [1081]ERR: 24: Error in Perl code: syntax error at
> /www/htdocs/admin/test_rs.epl line 46, at EOF
> syntax error at /www/htdocs/admin/test_rs.epl line 49, near "#line 49
> "/www/htdocs/admin/test_rs.epl"
>
I'm running the sample in the Intro to DBIx::Recordset. It's not too happy!
[1081]ERR: 24: Error in Perl code: syntax error at
/www/htdocs/admin/test_rs.epl line 46, at EOF
syntax error at /www/htdocs/admin/test_rs.epl line 49, near "#line 49
"/www/htdocs/admin/test_rs.epl"
} else"
#!/home/perlnow/local/bin/perl
..
# $Id: epocgi.pl.templ,v 1.2 2001/05/15 10:41:23 richter Exp $
#
#######
use HTML::Embperl ;
use HTML::EmbperlObject ;
my $Logfile= $ENV{EMBPERL_LOG} || $HTML::Embperl::DefaultLog ;
my $rc ;
my $ioType ;
my %req ;
H
>
> 4 $VAR1 = bless( { 'webmaster' => 'John Smith' },
'HTML::Embperl::DOC::_2' );
Looks like there is a Data::Dumper output that is printed to STDOUT instead
of OUT, because the Data::Dumper output comes before the headers, the
browser can't interpret the headers.
Do you have inserted a "print D
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I just installed 2.0b5 on remote machine that I have no root access to.
it runs Apache/1.3.6 (Unix) with all required by Embperl modules compiled in
That leaves me with an option of running EmbperlObject through epocgi.pl
.htaccess:
AddType text
Sorry to have taken your time on this one! I just assumed Randy was
following the examples in the docs and didn't double check. You know what
assumptions make you
Scott
On 11 Jan 2002 at 6:04, Gerald Richter wrote:
> > I'm getting a 404 error when I call and Em
> I'm getting a 404 error when I call and EmbperlObject page.
...
> >PerlSetEnv EMBPERL_OBJECT_BASE base.html
...
> base.epl is in c:\apache\embperl:
Above you have configured base.html and the file is named base.epl.
Unfortunately Embperl isn't smart enough to correct
API ) Apache/1.3.20 (Win32) mod_perl/1.26_01-dev
> mod_ssl/2.8.4 OpenSSL/0.9.6a running. ..
I'm still getting this in access.log:
> 192.168.0.18 - - [10/Jan/2002:14:34:58 -0800] "GET
> /embperl/initial.epl HTTP/1.1" 404 291
and this in error.log:
> [Thu Jan 10 14:34
On Thu, 10 Jan 2002, Scott Chapman wrote:
> I'm getting a 404 error when I call and EmbperlObject page.
> I'm running Apache under WinNT4 SP6.
> Just got it installed from theoryx5.uwinnipeg.ca, including 2.0b5 and
> SessionX.
>
> Here's the error in error.log:
I'm getting a 404 error when I call and EmbperlObject page.
I'm running Apache under WinNT4 SP6.
Just got it installed from theoryx5.uwinnipeg.ca, including 2.0b5 and
SessionX.
Here's the error in error.log:
> [162]SES: Embperl Session management enabled ()
> [Thu
> > Looks like you have Apache::SessionX installed, but not configured
properbly?
>
> Doh! Yup, that's what it is. Just me being brain dead at midnight :-(
> Maybe its possible to put something in the error log if the session
> isn't accessible?
>
I have tried to improve session handling and erro
there here.
>
> I have just uploaded 2.0b5, please try this, also I don't expect any changes
> for your problems.
It seems a little better but still doesn't work perfectly with the more
intensive EmbperlObject scripts we have.
> > 7/ When Apache starts up, I get this messa
>
> Ok, I have received Embperl-2.0b5_dev-1 from you. With it, I still get
> the error above. Here is some more detailed information, if it helps:
>
These info doesn't look very nice, also I can't reproduce any of there here.
I have just uploaded 2.0b5, please try this, also I don't expect any c
ge in the error log:
[20042]SES: Embperl Session management enabled ()
Yet, whenever %udat or %mdat is accessed (e.g. from base.epl) the
request stops. Ie, no more output, but no errors/warnings either... kind
of strange... I don't have any sessioning configured in httpd.conf or
startup.p
>
> [8762]ERR: 24: Error in Perl code: Undefined subroutine called at
> /usr/local/lib/perl/5.6.1/HTML/Embperl.pm line 745.
>
I guess you run into the same problem as Alan yesterday. I have introduced a
problem with comments inside [! !] blocks, which causes such an error. I
send you an updated v
Has anyone else gone through the process of upgrading an EmbperlObject
site from 1.3.x to the new 2.0b4?
More details can be provided, but I thought I'd check and see first...
I'm getting strange random outputs and errors. I'll reload a page 4 or 5
times and it'll come up f
>
> Whoops, sorry, didn't mean to send that to the whole list.
Why not ? It's not too long and if anybody else runs into the same problem
as you, he has already a solution...
Gerald
-
Gerald Richterecos electronic communication ser
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Whoops, sorry, didn't mean to send that to the whole list.
- --
Kee Hinckley - Somewhere.Com, LLC
http://consulting.somewhere.com/
[EMAIL PROTECTED] (or ...!alice!nazgul for time travelers :-)
I'm not sure which upsets me more: that people are so u
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
There's a couple problems with multi-level directories (I have artist/album/files).
I haven't done extensive testing, but this seems to fix them. You won't want the
initial base_path change of course.
*** index.epl Tue Oct 23 17:45:46 2001
- ---
> Introducing a simple interface to mod_mp3 written using EmbperlObject that
I
> have tentatively called Empache (ala the php equivalent Ampache).
>
> Example: http://24.43.237.74/mp3/
> Download backend: http://24.43.237.74/empache.tar.gz
>
Great! Thanks for sh
Introducing a simple interface to mod_mp3 written using EmbperlObject that I
have tentatively called Empache (ala the php equivalent Ampache).
Example: http://24.43.237.74/mp3/
Download backend: http://24.43.237.74/empache.tar.gz
Regards,
Ilia Lobsanov.
Nurey Networks Inc.
http://www.nurey.net
25152
-
- Original Message -
From: "Rainer Perl" <[EMAIL PROTECTED]>
To: "Embperl ML (E-Mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, September 05, 2001 1:56 PM
Subject: Problems with EmbperlObject (now with sample source)
> Hi again,
>
> while I was trying to
ng to write
> ==>access control/authentication/authorization modules for my site
embperlObject
> ==>suddenly started giving me stuff like
> ==>
> ==>apache/error.log -- [Thu Sep 6 10:06:08 2001] [error] EmbperlObject
searched ';/home/www/newsite;/home/www'
&
>
> Could someone please try this, to see if it is a bug or just something
with
> my setup...?
>
Looks like some old bug we have had with caching (because more then one file
named sub.epl). Actually this should work in 1.3.3, but I try it as soon as
possible and let you know how to fix it
Gerald
not quite satisfied with the current state of the Session
==>implementation in the stable tree. So, while I was starting to write
==>access control/authentication/authorization modules for my site embperlObject
==>suddenly started giving me stuff like
==>
==>apache/error.log -- [
Hi, I recently implemented a site using embperl, but like a lot of people on
the list am not quite satisfied with the current state of the Session
implementation in the stable tree. So, while I was starting to write
access control/authentication/authorization modules for my site embperlObject
Hi, I recently implemented a site using embperl, but like a lot of people on
the list am not quite satisfied with the current state of the Session
implementation in the stable tree. So, while I was starting to write
access control/authentication/authorization modules for my site embperlObject
Title: Problems with EmbperlObject (now with sample source)
Hi again,
while I was trying to track down the problem, I found something else... have a look:
/base.epl:
[- Execute('*'); -]
/main.epl:
This is the main-file
We're now calling the sub...
[- E
Title: Problems with EmbperlObject
Hi,
I'm having some strange problems with EmbperlObject (running via apache/mod_perl; Embperl 1.3.3). Here's my layout:
/base.epl:
[- Execute('*'); -]
I'm requesting /subdir/main.epl, it just cotains:
[- Execute('
>
> 1) is this possible and is EmbperlObject::Execute really what I'm
> looking for?
>
When I understand right what you want to do, Embperl::Execute would be
better. (It just includes your header/footer at the desired place)
If you have a CGI that doesn't generate
"David M. Spreitzer" wrote:
>
> I'm a Embperl newbie needing some help.
>
> I've implementing EmbperlObject for generating the html pages, which btw
> worked great. Now I'd like to use the component files (headers/footers)
> within some existi
I'm a Embperl newbie needing some help.
I've implementing EmbperlObject for generating the html pages, which btw
worked great. Now I'd like to use the component files (headers/footers)
within some existing cgi scripts. I think HTML::EmbperlObject::Execute
is my answer, but
"Gerald Richter" <[EMAIL PROTECTED]> writes:
> > would it be better to use the directive?
> >
>
> Files only take a filename and is overridden by the Location block which set
> the EmbperlObject handler, so this won't work
>
> Thoren, could yo
> would it be better to use the directive?
>
Files only take a filename and is overridden by the Location block which set
the EmbperlObject handler, so this won't work
Thoren, could you send me your current httpd.conf, so I can take a closer
look at i
would it be better to use the directive?
SetHandler perl-script
PerlHandler HTML::Embperl
Options ExecCGI
I don't know if this would work or not, but I would have tried this
first.
Thoren Johne wrote:
>
> "Gerald Richter" <[EMAIL PROTECTED]> writes:
>
> > Could you c
"Gerald Richter" <[EMAIL PROTECTED]> writes:
> Could you change this to
>
> SetEnv EMBPERL_VIRTLOG /embperl/log/embperl.log
>
> SetHandler perl-script
> PerlHandler HTML::Embperl
> Options ExecCGI
>
>
> Does this ch
> SetEnv EMBPERL_VIRTLOG /embperl/log
>
> SetHandler perl-script
> PerlHandler HTML::Embperl
> Options ExecCGI
>
>
Could you change this to
SetEnv EMBPERL_VIRTLOG /embperl/log/embperl.log
"Gerald Richter" <[EMAIL PROTECTED]> writes:
> Sorry, I didn't thought about this right the first time. It's the intended
> behaviour of EmbperlObject.
...
> I hope it's more clear now
ahh... now i understand.
thank you :)
--
# Thoren Johne - 8#X
lf i guess ;)
>
Sorry, I didn't thought about this right the first time. It's the intended
behaviour of EmbperlObject.
http://perl.apache.org/embperl/EmbperlObject.pod.1.html#DESCRIPTION says:
"This frame page can now include other pages, using the
HTML::Embperl::Execute met
5832), after that you should see where EmbperlObject searchs in the
embperl.log file. This should make things easier. Let me know if you find
anything (or send me the logfile if you don't find anything)
Gerald
-
To unsu
"Gerald Richter" <[EMAIL PROTECTED]> writes:
> > EmbperlObject behaves a bit strange when set-up on DocumentRoot.
>
> I use such a setup without problems...
then i'm doing something wrong ;)
> > without a "PerlSetEnv EMBPERL_OBJECT_STOPDIR /"
> EmbperlObject behaves a bit strange when set-up on DocumentRoot.
I use such a setup without problems...
>
> without a "PerlSetEnv EMBPERL_OBJECT_STOPDIR /" directive im getting
> 'not found' errors for each element in base.htm - if calling a page in a
>
EmbperlObject behaves a bit strange when set-up on DocumentRoot.
PerlSetEnv EMBPERL_OBJECT_STOPDIR /
PerlSetEnv EMBPERL_OBJECT_BASE base.htm
PerlSetEnv EMBPERL_FILESMATCH "\.htm.?|\.epl$"
PerlSetEnv EMBPERL_
Hi.
>
> I've been preparing a site using 2.0b2 and EmbperlObject, and it seems to
> work great.
>
I recommend to upgrade to 2.0b3 because it contains some important bug fixes
> The main problem I'm having is with trying to generate a page offline.
embpexec.pl only
Hi.
I've been preparing a site using 2.0b2 and EmbperlObject, and it seems to
work great.
The main problem I'm having is with trying to generate a page offline. I set
the embperl environment variables up the same as in my httpd.conf, however
embpexec.pl just gives me back a verbatim c
>
> I'm using these quite differently though - my include Executes are
> typically simple and never use the EMBPERL_OBJECT* parameters - they
> feel like Embperl::Executes within an EmbperlObject search path context.
> My 'new' request, on the other hand, is
On Mon, Jul 09, 2001 at 12:22:10PM +0200, Gerald Richter wrote:
> > If that's correct, then I was thinking of my embedded
> > EmbperlObject::Execute as a (logical) new request, and expecting that
> > $req would be empty like it is if I access that page directly.
Jack Cushman wrote:
>
> Is there a preferred way of excluding certain files from EmbperlObject
> processing? The problem is, for certain popup windows I don't want the
> header and footer to show up. The best I can think of is to put them all in
> a /popup directory with
Is there a preferred way of excluding certain files from EmbperlObject
processing? The problem is, for certain popup windows I don't want the
header and footer to show up. The best I can think of is to put them all in
a /popup directory with blank header.ht and footer.ht. Is there a bette
Likewise
> %fdat and %ENV. %udat and %mdat are probably different because their
> whole purpose is to provide persistence between pages ...
>
One page (as viewed by the user) may consist out of many files (as you know
:-)
> If that's correct, then I was thinking of my embedded
&
rent because their
whole purpose is to provide persistence between pages ...
If that's correct, then I was thinking of my embedded
EmbperlObject::Execute as a (logical) new request, and expecting that
$req would be empty like it is if I access that page directly.
> > I've worked a
Hi,
>
> Not sure if this is a bug or me simply making assumptions about how
> EmbperlObject would work ...
>
That's the intented behaviour, because the Embperl Request object is the way
how different pages can communicate (pass data back and forth). That's the
same for
Hi Gerald et al,
Not sure if this is a bug or me simply making assumptions about how
EmbperlObject would work ...
I've built a Content Management System using EmbperlObject that is
working really well. But one issue I've run into is where an
EmbperlObject "publishing" page d
Hi,
>
> [warn] [3725]ERR: 32: Line 40: Warning in Perl code: Embperl path
> search /path/to/file/menu.epl
>
Looks like you are using an old version of Embperl where I have forgot to
delete a "warn" which was left over from debugging. You can safely ignore
this message. Upgrading to 1.3.3 should
Hello all,
I'm not sure if this is could be a slight error in EmbperlObject itself
or it is just a matter of style.
in the base.epl file there is the command [- Execute("menu.epl") -]
whie produces the error
[warn] [3725]ERR: 32: Line 40: Warning in Perl code: Embperl path
searc
Yep!
> Any output inside the page is not parsed again, but you can run it thru the
> Exeute function to get the desired result:
>
>
> [- $code = get_content_from_a_database("index.html"); -]
> [- Execute ({input => \$code}) -]
>
I stumbled across that solution by reading the documentation, a
>
>
> [- get_content_from_a_database("index.html"); -]
>
>
> Where base.epl is the EmbperlObject base, does Embperl also parse the
> output of that function? For example, if get_content... returned:
>
> [+ $myvariable $]
>
> Would I see that as a
If I have:
base.epl
[- Execute(*); -]
And index.html as:
[- get_content_from_a_database("index.html"); -]
Where base.epl is the EmbperlObject base, does Embperl also parse the
output of that function? For example, if get_content... returned:
[+ $myvariable $]
Would I see
1 - 100 of 277 matches
Mail list logo