in reply to References, Prototypes, and read-only values
You see, this is a recursive function. The scalar $$rs_RecurseLabel is essentially a count of our current recurse depth. That explains why I'm incrementing it when I first enter into the function. But, the real problem I believe was caused by this call. I don't know exactly why, however. I simply switched from the implicit reference creation by the prototype to not using prototypes. I handle the references myself using hard references. This seems to fix the problem. One nicity of this approach is that the above code now becomes:GetSSNameFromFile( $s_ParentFileName, $$rs_OutputFile, $$rs_RecurseLabel );
I just pass the hard reference.GetSSNameFromFile( $s_ParentFileName, $rs_OutputFile, $rs_RecurseLabel );
Thanks for the replies,
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: References, Prototypes, and read-only values
by bbfu (Curate) on Feb 28, 2001 at 02:58 UTC |