Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!rbj From: rbj@uunet.UU.NET (Root Boy Jim) Newsgroups: comp.lang.perl Subject: Re: Weird response of "next" inside sub? Message-ID: <125314@uunet.UU.NET> Date: 12 Mar 91 05:53:54 GMT References: <11706@jpl-devvax.JPL.NASA.GOV> <125276@uunet.UU.NET> <1991Mar11.193009.19297@convex.com> Organization: UUNET Communications Services, Falls Church, VA Lines: 19 In article <1991Mar11.193009.19297@convex.com> tchrist@convex.COM (Tom Christiansen) writes: ?From the keyboard of rbj@uunet.UU.NET (Root Boy Jim): ?:Also, I am reluctant to ?:use eval often, even in LISP. I find the scoping slightly more ?:difficult to figure out. ? ?It's no different than at any other time: it's dynamic, which ?means you can see something if your caller could. This is ?what often confuses people, most of whom are used to lexical ?scoping. Of course, once you bring pass-by-reference and ?pass-by-name into the picture, you quickly find yourself caught ?it a maze of twisty, turn pathways, all alike. Actually, I prefer dynamic scoping over lexical scoping. I guess I was trying to convince myself that using eval produced a third kind of scope, but I guess not. -- [rbj@uunet 1] stty sane unknown mode: sane