Re: Embperl 2.0 bug - undefined "$val3"

2002-02-26 Thread Gerald Richter
>The rush is over, I'm sitting by the pool in CancĂșn, and here's the log. Oops, $val3 is something that is left over from debugging some table handling code, that had forgotten to remove. Go to the file Embperl/Syntax/EmbperlBlocks.pm, search for $val3, you should see a line which contains: ..

Re: Embperl 2.0 bug - undefined "$val3"

2002-02-26 Thread Kee Hinckley
At 5:01 PM +0100 2/16/02, Gerald Richter wrote: >I case you have some free minutes, please set EMBPERL_DEBUG to 0x7fff >and send me the embperl.log file you get (will be very long, but this >doesn't matter) The rush is over, I'm sitting by the pool in CancĂșn, and here's the log. The other (m

Re: Local [$ sub $] variables in 2.0

2002-02-26 Thread Kee Hinckley
At 4:18 PM +0100 2/26/02, Gerald Richter wrote: >Wait for 2.0b6. 2.0b6 have moved from HTML::Embperl to Embperl namespace, so >you are able to install both at the same time. You can run your production >with 1.3.4 and test with 2.0 without interferences. That's great news! I was going to set up

RE: Is this a netscape problem or what?

2002-02-26 Thread Andrew Lim
Yeah you were right. In some of my custom module, I put print function for test purpose and this was the cause. THanks Andrew -Original Message- From: Gerald Richter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 12:12 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re

Re: Is this a netscape problem or what?

2002-02-26 Thread Gerald Richter
Looks like you have some print's in your code, either print to OUT or set optRedirectStdout in EMBPERL_OPTIONS (or remove the print's if possible) Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect *

Is this a netscape problem or what?

2002-02-26 Thread Andrew Lim
It's OK with IE but on netscape, I see web server information displayed on the top of the web page. Below is the actual HTML code. Anybody knows why this is happening? This happens to a specific page (Not all pages.) when I see it from netscape. THanks > REMAIN:8 CURRENT

Re: Local [$ sub $] variables in 2.0

2002-02-26 Thread Neil Gunton
Gerald Richter wrote: > This only works in 2.0bx, not in 1.3.4. I see if I could add the [$ var $] > to 2.0, so you don't have these kinds of problems Thanks, Gerald. I look forward to being able to test out 2.0 on my existing codebase, so that I can help in finding lingering bugs. Meantime, I'll

Re: Local [$ sub $] variables in 2.0

2002-02-26 Thread Gerald Richter
> > Sorry, looks like I misunderstood the syntax here. I thought you could > just put [$ var $] (without any variables) to force the file to use the > equivalent of 'strict'. > You just used it in a way I never tought of :-) > > Put a [* use strict ; *] at the top of your page, by this you shoul

Re: Local [$ sub $] variables in 2.0

2002-02-26 Thread Neil Gunton
> Wait for 2.0b6. 2.0b6 have moved from HTML::Embperl to Embperl namespace, so > you are able to install both at the same time. You can run your production > with 1.3.4 and test with 2.0 without interferences. Ok... > > Ok, so I've installed 2.0b5 now, and here's the first problem. Is [$ var > >

Re: Local [$ sub $] variables in 2.0

2002-02-26 Thread Gerald Richter
> > I haven't used [* *] yet, mainly because the documentation still says > it's very experimental. Yes it is experminetal, but it works as long as you don't mix loops and conditionals from Embperl and from Perl > > I have tried to test out Embperl 2.0b5 before, but put off real effort > because

Re: embperl install problem w/98

2002-02-26 Thread Gerald Richter
> sorry for directing this problem directly to you, but I wasn't sure where > else to send it: the problem I'm having is as below: > > To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] is the correct mailing list address > > > > I installed embperl from http://theoryx5.uwinnipeg.ca/ppmpackages/ - this

Re: Local [$ sub $] variables in 2.0

2002-02-26 Thread Neil Gunton
> Ok, so I've installed 2.0b5 now, and here's the first problem. Is [$ var > $] not valid any more? I have that on line 1 of one of my subroutine > files, executed using Execute ({object => ...}). I get the following > error: (this is using EmbperlObject) > > [1410]ERR: 24: Error in Perl code: 'u

Re: Local [$ sub $] variables in 2.0

2002-02-26 Thread Neil Gunton
Gerald Richter wrote: > > You can use 'my' or 'local' just like in Perl with 2.0: > > [$sub foo $] > [* my $a *] > > . > > [$endsub$] > > BTW: [* local $x *] already works since 1.2 I haven't used [* *] yet, mainly because the documentation still says it's very experimental. Also, the do