Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!cs.utexas.edu!usc!brutus.cs.uiuc.edu!apple!sun-barr!newstop!texsun!convex!tchrist From: tchrist@convex.com (Tom Christiansen) Newsgroups: comp.lang.perl Subject: recursion problems Keywords: perl recursion local bug Message-ID: <100264@convex.convex.com> Date: 26 Feb 90 16:47:00 GMT Sender: news@convex.com Reply-To: tchrist@convex.Com (Tom Christiansen) Organization: Convex Computer Corp, Richardson, TX Lines: 17 I have a resursive subroutine with all local variables that is having problems with its return value. Precisely, it's saying it's returning a local @list, but when the return value delivered back to the caller is actually @_[0], the subroutine's first called-with parameter. Has anyone else seen this? When I isolate the routine into a brief test-case, the problem goes away, as I find so often to be the case. Larry, have you made any fixes for patch9 that might be related to this problem? --tom -- Tom Christiansen {uunet,uiucdcs,sun}!convex!tchrist Convex Computer Corporation tchrist@convex.COM "EMACS belongs in : Editor too big!"