Re: Error reporting in Embperl 2.5.0_1

2012-06-28 Thread Neil Gunton
Another update: I tried downgrading Embperl to 2.4 just to see if it would be any different, but same result - only message is 'Compilation error'. So, something specific about the way Embperl interacts with Perl that changed with 5.14, presumably... Neil Gunton wrote: Actually, I said in my

Re: Error reporting in Embperl 2.5.0_1

2012-06-28 Thread Neil Gunton
Actually, I said in my previous email that the error was hard to reproduce in its minimal version - but the one below does seem to do it. All I am getting with this example is 'Compilation error', no line or file information. This is using Embperl::Object, if that matters. Latest Embperl, perl

Re: Error reporting in Embperl 2.5.0_1

2012-06-28 Thread Neil Gunton
Ok, FYI I am still getting some strange behavior with reporting of compilation errors. However, it's quite difficult to pin down a minimal case that gives the same result that I get with more complex code. At the same time, I get *no* error with something like this in my test.html: [- slkj

Re: Error reporting in Embperl 2.5.0_1

2012-06-05 Thread Neil Gunton
Ok, here is a simple test case. File index.html contains just the following: [- use strict; $x = 1; -] Produces: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, n...@nilspac

Re: Error reporting in Embperl 2.5.0_1

2012-05-31 Thread Neil Gunton
Ok, this is weird. When I try executing the same file now, just the way it was before (without your suggestion), now it doesn't give the error. I have tried restarting apache, clearing both the browser and apache caches, but it works every time. Bizarre. I'll wait a bit and see if I can reprodu

Re: Error reporting in Embperl 2.5.0_1

2012-05-31 Thread Neil Gunton
Hi Gerald, Thanks for getting back. Basically I can have something as simple as this, one line of code in index.html: [- $x = 1; -] Which simply produces the error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.

RE: Error reporting in Embperl 2.5.0_1

2012-05-29 Thread richter
Hi Neil, in my tests I got normal error messages like before. Do you have a few lines of code, that shows the problem? Gerald > -Original Message- > From: Neil Gunton [mailto:[email protected]] > Sent: Saturday, May 19, 2012 9:29 PM > To: [email protected] > Subject: Error reporti