develooper Front page | perl.perl5.porters | Postings from February 2003

Re: [perl #20665] segfault on perl -e 'local (a, $b)'

Thread Previous
From:
H.Merijn Brand
Date:
February 3, 2003 00:04
Subject:
Re: [perl #20665] segfault on perl -e 'local (a, $b)'
Message ID:
20030203090409.FABF.H.M.BRAND@hccnet.nl
On Mon 03 Feb 2003 07:55, "frederik@ugcs.caltech.edu (via RT)" <perlbug-followup@perl.org> wrote:
> # New Ticket Created by  frederik@ugcs.caltech.edu 
> # Please include the string:  [perl #20665]
> # in the subject line of all future correspondence about this issue. 
> # <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=20665 >
> 
> 
> 
> This is a bug report for perl from frederik@ugcs.caltech.edu,
> generated with the help of perlbug 1.33 running under perl v5.6.1.
> 
> 
> -----------------------------------------------------------------
> [Please enter your report here]
> 
> Discovered that the following command gives a seg fault. Hoping I
> don't have a misconfiguration... other things seem to work fine.
> 
> $ perl -e 'local (a, $b)'
> Segmentation fault

Thanks for the report, but this has already been
solved in more recent versions of perl.

Widely available perl5.8.0:

$ perl -e 'local (a, $b)'
Can't modify constant item in local at -e line 1, at EOF
Execution of -e aborted due to compilation errors.
$

-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0 & 633 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
  WinNT 4, Win2K pro & WinCE 2.11.  Smoking perl CORE: smokers@perl.org
http://archives.develooper.com/daily-build@perl.org/   perl-qa@perl.org
send smoke reports to: smokers-reports@perl.org, QA: http://qa.perl.org


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About