Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!convex!tchrist From: tchrist@convex.com (Tom Christiansen) Newsgroups: comp.lang.perl Subject: panic: do_assign; bus errors Message-ID: <100016@convex.convex.com> Date: 18 Feb 90 23:48:30 GMT Sender: news@convex.com Reply-To: tchrist@convex.Com (Tom Christiansen) Organization: Convex Computer Corp, Richardson, TX Lines: 25 I'd been having various problems with perl giving me a bus errors when I did a $_ = ''; so I made it local to an enclosing block and got panic: do_assign at ./makewhatis line 41, line 106. which is perl's internal gripe, not a die() of my own. The problem went away when I changed all references to $_ to $aline, as well as while ($nameline = &getline) { to this one while ($nameline = &getline()) { Note that I don't reference @_ in getline(), but I do reference a local($_) in there. Has anyone else seen this? --tom -- Tom Christiansen {uunet,uiucdcs,sun}!convex!tchrist Convex Computer Corporation tchrist@convex.COM "EMACS belongs in : Editor too big!"