develooper Front page | perl.perl5.porters | Postings from March 2007

Re: [perl #40995] Segfault due to a semicolon inside a dynamic array ref.

Thread Previous | Thread Next
From:
andreas.koenig.7os6VVqR
Date:
March 11, 2007 23:20
Subject:
Re: [perl #40995] Segfault due to a semicolon inside a dynamic array ref.
Message ID:
87d53f3sr1.fsf@k75.linux.bogus
>>>>> On Mon, 27 Nov 2006 09:52:55 -0800, "Rafael Garcia-Suarez via RT" <perlbug-followup@perl.org> said:

FWIW, this is what binary search says:

----Program----
use strict;
use warnings;

use Test::More tests => 1;

eval <<'EOF';
sub func1
{
my ($i, $j) = @_;

sub { return [ $i->func2(); ]; };
}
EOF

# TEST
ok(1, "Test compilation of semicolon inside [ ... ]");


----Output of .../p4uyj6N/perl-5.8.0@22273/bin/perl----
1..1

----EOF ($?='11')----
----Output of .../pO842AD/perl-5.8.0@22278/bin/perl----
1..1
ok 1 - Test compilation of semicolon inside [ ... ]

----EOF ($?='0')----




Change 22278 by nicholas@faith on 2004/02/07 19:50:10

        hv_clear_placeholders now manipulates the linked lists directly, rather
        than using the iterator interface and calling hv_delete
        This will allow hv_delete to be simplified to remove most of the
        special casing related to placeholders.

-- 
andreas

Thread Previous | Thread Next


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