Path: utzoo!attcan!uunet!convex!tchrist From: tchrist@convex.com (Tom Christiansen) Newsgroups: comp.lang.perl Subject: panic: A_LVAL Message-ID: <106865@convex.convex.com> Date: 4 Oct 90 19:11:52 GMT Sender: news@convex.com Reply-To: tchrist@convex.Com (Tom Christiansen) Organization: Convex Computer Corp, Richardson, TX Lines: 12 The following two-liner triggers a "panic: A_LVAL" abort out of perl at patchlevel 18: for (1..10) { $a[$_] = 1; } for (@a) { $_ = !$_; } If the subscripts are changed to (0..10), it's just fine. --tom -- "UNIX was never designed to keep people from doing stupid things, because that policy would also keep them from doing clever things." [Doug Gwyn]