Johan Vromans <jvrom...@squirrel.nl> writes:

> Mark Dootson <mark.doot...@znix.com> writes:
>
>> Would it be possible to extract and post an example of code that core
>> dumps? I'd like to check if this is a Wx problem that can be fixed.
>
> Found it!
>
>     #! perl
>     use threads;
>     use threads::shared;
>     use Wx;
>     #binmode( STDOUT, ':encoding(utf8)' );
>     my $worker = threads->create( sub { warn "Hello, World!\n" } );
>
> Uncomment the line with binmode and crash!

Omitting 'use Wx' makes no difference so it's not even related to
wxPerl.

-- Johan

Reply via email to