RE: Help with RPM Embperls

2000-05-25 Thread Gerald Richter
> 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

RE: EmbperlObject: parameters? (idea)

2000-05-25 Thread Gerald Richter
> > 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,

RE: using multiple hashes with hidden in HTML::Embperl

2000-05-25 Thread Gerald Richter
> > 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

RE: "Global" or module data

2000-05-25 Thread Gerald Richter
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 >

RE: Refresh oddity...

2000-05-25 Thread Gerald Richter
> > 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

Help with RPM Embperls

2000-05-25 Thread Scott Chapman
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

Re: EmbperlObject: parameters? (idea)

2000-05-25 Thread Kaare Rasmussen
> [- 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

"Global" or module data

2000-05-25 Thread Bruce W. Hoylman
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

Re: Refresh oddity...

2000-05-25 Thread Erich L. Markert
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

Re: EmbperlObject: parameters? (idea)

2000-05-25 Thread Gerald Richter
> 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

Re: EmbperlObject: parameters? (idea)

2000-05-25 Thread Robert
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 =

Re: EmbperlObject: parameters? (idea)

2000-05-25 Thread Gerald Richter
> > 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

EmbperlObject: parameters? (idea)

2000-05-25 Thread Robert
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",

Re: EmbperlObject offline usage

2000-05-25 Thread Gerald Richter
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 -

EmbperlObject offline usage

2000-05-25 Thread Robert
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