Re: Deep Recursion

2002-07-25 Thread Gerald Richter
> > When I do this, it appears as if it is not even processing the [* *] > sections. Embperl subs must be defined before they are used in 1.3.4 (this isn't necessary in 2.0 anymore), which is not the case in your example. When you move the sub before the call of the sub it should work. > Does i

Re: Deep Recursion

2002-07-23 Thread Nate Smith
Ok, for anyone following this thread, I got the recursive function to work, I will paste the source here. I could not declare it as an embperl sub, I had to declare it as a normal perl sub within an embperl block in the same file as I am using it. I tried about every other iteration without suc

Re: Deep Recursion

2002-07-22 Thread Nate Smith
On Sun, Jul 21, 2002 at 03:25:03PM +0200, Gerald Richter wrote: > > > > I am not having much luck getting a recursive function to work as it > > should. > > You need to localize your variables, otherwise they will be overwritten by > the second call the the sub: When I do this, it appears as if