Is "last" supported in embperl loops?

2003-01-04 Thread Rajesh Kumar Mallah.


Hi ,

Does newer versions of embperl support jumping out of a loops like
while .. endwhile , foreach endforeach , something
similar to "next" and "last" keywords in perl.


Regds
Mallah.

-- 
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)

Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Duplicating SELECT

2003-01-04 Thread Kaare Rasmussen
Embperl 2.0b9 will add any SELECT field to the [$hidden$], so it will be 
duplicated. If the user chooses an entry with value 1, it will be 1\t1 if I 
use [$hidden$].

It did not do that with 2.0b8.

-- 
Kaare Rasmussen--Linux, spil,--Tlf:3816 2582
Kaki Datatshirts, merchandize  Fax:3816 2501
Howitzvej 75   Ă…ben 12.00-18.00Email: [EMAIL PROTECTED]
2000 FrederiksbergLørdag 12.00-16.00   Web:  www.suse.dk

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: 1.3.5 : still make test pb on RedHat 8

2003-01-04 Thread Robert
sending both in a private mail

- robert


Gerald Richter wrote:


#53 nesting.htm...

[-1]Malformed UTF-8 character (overflow at 0xc41461c8, byte 0x09, after
start byte 0xff) in pattern match (m//) at test.pl line 1128,  line
   

2.
 

[-2]Malformed UTF-8 character (unexpected end of string) at test.pl line
1136,  line 2.
etc...

   


Could you send me the test/tmp/out.htm after this test has failed?

 

now it says

...
#35 varepvar.htm... ok
#36 escape.htm...
Error in Line 65
   


Could you please also send me test/tmp/out.htm you modfied test.pl and this
test fails?

Gerald

 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: AddOutputFilter EMBPERL ???

2003-01-04 Thread Gerald Richter


>[76195]ERR: 675407878: test.php(1): Error (no description) 675407878
>(status=200) /test.php

Mmmh, you config seems to be ok, also either Files or FilesMatch should be
enough. I have to setup a similar configuration and checkit out here. Maybe
there is a problem with the newer version of Apache, because I have only
tested it against 2.0.39. It's already on my to do list to install the
newest Apache 2 and test Embperl against it. I come back to you soon as I
have this done...


>Do you think a
>
>
>  SetHandler perl-script
>  PerlHandler Embperl::Object
>  Options ExecCGI
>
>
>could be set up to work

Yes, if you add the necessary Embperl config directives.

>Please save me some lookup time... ;-) where to place
>optDisableFormData?

Embperl_Options in httpd.conf (as numeric value)

Gerald


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: as outer block (and recipes)

2003-01-04 Thread Gerald Richter


> I know this may be a stupid posting, because I've touched the topic
before.
> But I keep running into this problem and I think I remember that you
> (Gerald) told that you would fix the problem I reported (rows with 
> cells).
>

I have put some work into it and found out that it is much more complicated
than I have expected, but I still plan to implement it. Hopefully it will be
in 2.0b9, but I can't promise...

>
> (Maybe) on another note, I'd like to know more about how to use recipes.
Or
> rather: For what. Obviuosly it's a very nice solution. But I can't figure
> out for which problem. Will I be better off using a recipe than the above
> mentioned subroutine components?
>
> Right now I find data in my epl files and then I pass it on together with
a
> hash containing information about how to display and process the fields to
a
> subroutine. Getting back from this subroutine I call the update routines.
>
> Will recipes be a better way and if so, why? If not, where can I put
recipes
> to good use?
>

Receipes are basicly good for doing a kind of filtering or transformation of
the source. The most obvious example is doing XSLT transformation. For
example you can use a POD files as input (maybe with Perl init), Embperl
transforms it to XML and then you run an XSLT transformation to get HML. The
idea is, that you can run other transformation, for example to get PDF (that
not implemented right now, but I am working on it).

I am currently updating the website, on thing that is already online is my
talk of the ApacheCon, which gives you some ideas of receipes and how the
Embperl website uses them, take a look at
http://www.ecos.de/embperl/pod/intro/IntroEmbperl2.htm

Gerald


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: SessionX::Config.pm is missing

2003-01-04 Thread Angus Lees
At Fri, 03 Jan 2003 22:18:18 +0200, Ville Jungman wrote:
> Where I can find file Apache::SessionX::Config.pm. Does it autogenerate, 
> come with some package or something? It feels to be hard to find this file 
> from internet.

its generated by Makefile.PL.

(unless you use my Debian packages, in which case it is generated
during package install and stored somewhere peculiar)

-- 
 - Gus

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Form Validate

2003-01-04 Thread Justin Harrison
Hi,

After the form is validated, if it is successful, there are other functions
I would like it to call. For example, I want to disable the "Submit" button
after it is pressed, as to prevent duplicate submissions. Is there a way to
do this using form validate?

My form has several confirmation fields. Is there anyway to add logic to
form validate so that it checks to see if two form fields are equal, and if
not, generates an error?

Thanks!

Justin


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]