On Fri, Dec 03, 2004 at 12:16:57AM +0000, Jonathan Paton wrote:

> > I suspect that you are just blowing the stack.
> 
> Agreed now.  Mind you, changing the program stack space
> is not likely to help.

Are you sure?  Did you try it?  I did ;-)

>                         I don't think perl will use the program
> stack for the regex engine.

There are only a handful of experts on perl's RE engine, and I'm not one
of them, but I do know that the engine uses a number of C functions, and
each time one of them is called stack space is required.

Try running your program with perl inside a debugger and getting a stack
trace of where is crashes.  (This will be more interesting with a perl
built with debugging information.)

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to