>
> In my perldoc DBIx::Recorset there is:
>
> *set = DBIx::Recordset -> Select (\%params, $fields, $order)
> $set -> Select (\%params, $fields, $order)
> $set -> Select ($where, $fields, $order)
>Selects records from the recordsets table(s).
> [...]
>order: comma separate
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
On Tue, Mar 05, 2002 at 08:36:17PM +0100, Gerald Richter wrote:
> >
> > Yep. This works like a charm. Now I just have to decide whether or
> > not to run with a custom patch in production :-)
> >
>
>
> You can savely use it. This patch is a much better solution then the old
> one, which is ver
> But in
> perldoc DBIx::Recordset its documented that only Select works with
> order.
>
It only works with Search. $order is listed below the heading "Search
parameters", while Select has an extra parameter (the third one) for order.
Anyway it's better to use Search, because Select is very limi
>
> Yep. This works like a charm. Now I just have to decide whether or
> not to run with a custom patch in production :-)
>
You can savely use it. This patch is a much better solution then the old
one, which is very old and from a time where $ENV{MOD_PERL} didn't had
exists.
Gerald
P.S. Star
On Tue, Mar 05, 2002 at 04:40:31PM +0100, Gerald Richter wrote:
> > But Embperl immediately assumes it should call Apache->request() if
> > Apache is loaded. Is there any way around this?
>
> You could try to change the line 737 in Embperl.pm from
>
> elseif (exists $INC
>
> to
> e
Hi
If i have
*set = DBIx::Recordset->Select(
{'!DataSource' => $dsn,
'!Table' => 'config',
'!Username' => $user,
'!Password' => $pass,
'$order' => 'id'});
it wont work. If i only change Select to Search it works. But in
perldoc DBIx::Rec
Thanks for the quick answer. Works fine now.
> -Original Message-
> From: Gerald Richter [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 05, 2002 3:58 PM
> To: Jack Knight; [EMAIL PROTECTED]
> Subject: Re: File read blocking within embperl doc
>
>
> Hi,
>
> I guess you should set opt
Sorry, it should have been test. So heres the real code snipets:
-WORKS-
HTML:
Hello there.
This is html.
SUBMIT - EMBPERL PROCESS---
...
### PROCESS FORM
if($fdat{save} == 1){
die Dumper %fdat;
...
SCREEN RESULTS
Hi,
I guess you should set optRawInput in your EMBPERL_OPTIONS, otherwise
Embperl treats the as html tag instead as a file handle
Gerald
-
Gerald Richterecos electronic communication services gmbh
Internetconnect * Webserver/-desi
> It seems that entering a '=' inside an input item screws up %fdat
> when processed.
I don't have this problem here. Entering a = works as expected.
> Example:
>
>
> test=4
Here is no message_subject, should the name of the input be message_subject
?
Do you have small example script that pr
>
> [-
> foreach $key (keys %{$hashref}) {
> print OUT "$key = $hashref->{$key}";
> }
> -]
>
> The is missing when the page is rendered.
This has nothing to do with OUT. It looks like you need to set optRawInput
in EMBPERL_OPTIONS. In 1.3 you can set this inside the page, in 2.0 you need
to
Hi,
I have a simple index.epl page which I want to read through the files within
a directory and extract a comment line which contains a description for the
file. However, opening the files is no problem - if I remove the while read
loop the code executes, albeit uselessly. Otherwise reading appe
> But Embperl immediately assumes it should call Apache->request() if
> Apache is loaded. Is there any way around this?
You could try to change the line 737 in Embperl.pm from
elseif (exists $INC
to
elsÃf ($ENV{MOD_PERL})
Let me know if this works for you, so I could try to make E
I'm trying to use Execute() outside of Apache/mod_perl. This works
great until I try to use one of our internal modules that does a 'use
Apache;'. This doesn't cause problems with the other module because
it only uses anything from Apache if asked - and I'm not asking.
But Embperl immediately
15 matches
Mail list logo