Path: utzoo!news-server.csri.toronto.edu!rutgers!cmcl2!hsdndev!think.com!sdd.hp.com!spool.mu.edu!uunet!convex!news From: tchrist@convex.COM (Tom Christiansen) Newsgroups: comp.lang.perl Subject: Re: Weird response of "next" inside sub? Message-ID: <1991Mar11.193009.19297@convex.com> Date: 11 Mar 91 19:30:09 GMT References: <124820@uunet.UU.NET> <11706@jpl-devvax.JPL.NASA.GOV> <125276@uunet.UU.NET> Sender: news@convex.com (news access account) Reply-To: tchrist@convex.COM (Tom Christiansen) Organization: CONVEX Software Development, Richardson, TX Lines: 13 Nntp-Posting-Host: pixel.convex.com 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. --tom