Re: Embperl optKeepSpaces (patch)

2001-06-19 Thread Gerald Richter
>OK here is a patch that will make the optKeepSpaces behavior >work the way I want it to. Looks good to me, will go into the next release Thanks Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect

Re: udat data not consistent

2001-06-19 Thread Gerald Richter
> > Here is a part of the httpd.config: > I don't see any setup for the session managenet in your config. Do have configured EMBPERL_SESSION_CLASSES and EMBPERL_SESSION_ARGS ? If, yes how, if no we have found the reason why it can't work. Gerald -

Re: Embperl optKeepSpaces (patch)

2001-06-19 Thread Marcus Doemling
OK here is a patch that will make the optKeepSpaces behavior work the way I want it to.   This patch will remove spaces including one line-breakBEFORE an Embperl block iff the opening bracket '[' was preceded onlyby spaces on its line and optKeepSpaces is set.   So if there is nothing on a lin

udat data not consistent

2001-06-19 Thread Jim Hamer
I want udat to work correctly. The server I am working on has this configuration. Server: Apache/1.3.12 (Unix) (Red Hat/Linux) mod_perl/1.24 Embperl 1.3b3 My code looks like this: if (exists $fdat{login}) { %udat = {}; %udat = (login => $login, loginPass => $loginPass); } els

Re: Embperl optKeepSpaces

2001-06-19 Thread Gerald Richter
> > I have a comment/request regarding the optKeepSpaces option. > I would like to preserve the indentation of some > javascript code generated by embperl without adding > empty lines. Here is an example. > > > function myfunc() { > var a=0; > [$ if ($flag==1) $] >

Re: $udat hash troubles - no keep values

2001-06-19 Thread Gerald Richter
> After reload page or change page $udat{user} no keep - run code after if > (! defined $udat{user}){. > But file for session create with parameter "user" and it value. > Please help what need do for coorect this error. > I'm do this in "general.epl": > How have you configured the session manag