> I have Turbo Linux 6.0.2 Server which has and old version of
> Embperl with it. I just downloaded the RH6.1 RPM of 1.3b3 but I
> don't know how to tell Apache to use it or if it will work.
>
> If there's docs on how to do this, please point me at 'em! Otherwise,
> if someone could get me start
>
> I want to add some javascript to the next page, so I have this:
>
> Execute ({inputfile => '*', 'sub' => 'js_start', output => \$js_start})
>
>
> (abbreviated, the syntax may not work, but you get the idea.
>
> The problem is that I don't know the javascript until late in my
> original page,
>
> Gerald, my [$ hidden $] wont work... I dont know how
> to give multiple hashes as arguments to this
> HTML::Embperl function.
>
> My source code is at:
> http://stage.angryman.com/siteview/external/index.epl.source
>
[* %hidden = ('iid' => $rec->{iid}, '!Table' => 'external_poll'); *]
[$ hi
Hi,
>
> >From an Embperl page, I am creating a SELECT/OPTION widget that is
> populated with the results of a database query. The content of this
> database source is relatively static over time, so I would like to only
> have to hit the database once, create a perl structure of the results if
>
>
> Hmm... I changed my httpd.conf so embperl has virtlog set and the
> dbgLogLink option enabled.
>
> I run this page and, if I'm reading the output correctly, it appears
> that it is indeed getting this from cache. Evals: 661 Cache: 661 (100%)
>
No, this only means that the precompiled Perl c
I have Turbo Linux 6.0.2 Server which has and old version of
Embperl with it. I just downloaded the RH6.1 RPM of 1.3b3 but I
don't know how to tell Apache to use it or if it will work.
If there's docs on how to do this, please point me at 'em! Otherwise,
if someone could get me started on th
> [- Execute ('*#title') -]
I have a similar setup and a problem with that.
I want to add some javascript to the next page, so I have this:
Execute ({inputfile => '*', 'sub' => 'js_start', output => \$js_start})
(abbreviated, the syntax may not work, but you get the idea.
The problem is tha
Ciao!
>From an Embperl page, I am creating a SELECT/OPTION widget that is
populated with the results of a database query. The content of this
database source is relatively static over time, so I would like to only
have to hit the database once, create a perl structure of the results if
it does
Hmm... I changed my httpd.conf so embperl has virtlog set and the
dbgLogLink option enabled.
I run this page and, if I'm reading the output correctly, it appears
that it is indeed getting this from cache. Evals: 661 Cache: 661 (100%)
Is there anyway to tell embperl to disable caching on a page
> Aha. So you recommend every EmbperlObject file from my example looks
> like
>...
yes
> Anyway, several [$sub$]'s in every file, what about performance (vs.
> some kind of sending around param list/hash)?
Shouldn't be a great problem
> Moreover, how would you
> set up defaults?
Currently you
Aha. So you recommend every EmbperlObject file from my example looks
like
==
[$ sub title $]Test 1[$ endsub $]
[$ sub bgcolor $]#ff[$ endsub $]
[$ sub copyright $]1[$ endsub $]
Test page
I guess it's usable but I'd like better something like
=
>
> one more question: any plan to parameters for components? Here's
> exactly what I mean:
>
>
> base.html
> ==
>
>
> [+ $param{title} +]
>
>
> [+ $param{title} +]
> [- Execute ('*') -]
>
>
>
Rewrite it as
[- Execute ('*#title') -]
and put a
Execute (fi
Hi,
one more question: any plan to parameters for components? Here's
exactly what I mean:
base.html
==
[+ $param{title} +]
[+ $param{title} +]
[- Execute ('*') -]
test.html
==
[- title => "Test1",
Hi,
>
> EmbperlObject is quite cool, but it doesn't seem to support offline
> mode. Is there some workaround for it or is it planned for some later
> beta? I use sometime Embperl as a great offline converter, but I have to
> include headers/footers manually through Execute in every Embperl file -
Hi,
EmbperlObject is quite cool, but it doesn't seem to support offline
mode. Is there some workaround for it or is it planned for some later
beta? I use sometime Embperl as a great offline converter, but I have to
include headers/footers manually through Execute in every Embperl file -
it would
15 matches
Mail list logo