Package: perl-base
Version: 5.8.7-10
Perl shouldn't get a segmentation fault on valid or invalid input. I
think the following code is valid, even if it is ghastly. :)
falcon:~$ perl -e '*a=$a=*b;${"a"}=*a;'
Segmentation fault
falcon:~$ perl
*a=$a=*b;
*a=$c=$a=*b;
*{\*a}=$a=*b;
*a=$b=*b;
*a=$a=$b=*b;
*a=$a=\*b;
*a=${"a"}=*b;
*a=${\$a}=*b;
[^D pressed]
Segmentation fault
falcon:~$ perl
*a=$a=*b;
*a=$a=*b;
[^D pressed]
Segmentation fault
falcon:~$ perl
${"a"}=*a;
${"a"}=*a;
[^D pressed]
falcon:~$ type perl
perl is hashed (/usr/bin/perl)
falcon:~$
I would expect all those commands to complete without error. It looks
like *a=$a=*b is suspect because the 4th command worked.
libc6 version 2.3.5-8
linux kernel version 2.6.7 (compiled locally, Debian source)
Cheers, Neil.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]