Path: utzoo!attcan!uunet!bfmny0!tneff From: tneff@bfmny0.UU.NET (Tom Neff) Newsgroups: comp.lang.perl Subject: Re: panic: A_LVAL (perl 3.0 pl 14) Message-ID: <15251@bfmny0.UU.NET> Date: 14 Mar 90 16:29:34 GMT References: <2645@ruuinf.cs.ruu.nl> Reply-To: tneff@bfmny0.UU.NET (Tom Neff) Lines: 20 In article <2645@ruuinf.cs.ruu.nl> piet@cs.ruu.nl (Piet van Oostrum) writes: >The following perl script crashes with a 'panic: A_LVAL': > >$#x = 5; >for (@x) { $_ = '' ;} Same on my Sys V/386 PL14 version. And $#x = 5; for (@x) { $_; } dumps core. Sounds worth fixing, and I can't find a quick workaround. I suppose you could pre-initialize arrays by saying eval "@x = (" . "''," x $MAXELTS . ")"; instead of just bumping the index, until Larry fixes it. -- "The country couldn't run without Prohibition. ][ Tom Neff That is the industrial fact." -- Henry Ford, 1929 ][ tneff@bfmny0.UU.NET