Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!ames!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.lang.perl Subject: Re: Shuffling, and more grep nut Message-ID: <6992@jpl-devvax.JPL.NASA.GOV> Date: 6 Feb 90 00:48:36 GMT References: <1990Jan30.193431.28383@iwarp.intel.com> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 9 In article <1990Jan30.193431.28383@iwarp.intel.com> merlyn@iwarp.intel.com (Randal Schwartz) writes: : grep(s/foo/bar/, @TMP = @sacred); : : But when I just tried it, it still affected @sacred! Why? Bug in array assignment. It was leaving the wrong set of pointers on the stack. Fixed. Larry