Subject: | Convoluted invocation of accessor leads to interpreter panic |
perl -e '
use Class::XSAccessor accessors => { foo => "foo" };
my $obj = bless { foo => {} };
$obj->foo->{bar} ||= do {
# in the actual code this is buried in a reset() method
# which is several stackframes removed from the do{}
# in question (boy was that "fun" to isolate
$obj->foo({});
"barval";
}
'