[comp.lang.perl] panic: do_assign; bus errors

tchrist@convex.com (Tom Christiansen) (02/19/90)

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, <FILE> 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 <sys/errno.h>: Editor too big!"