This is an issue with the libwx-perl package. I could reproduce the bug with:
perl -e'BEGIN { @INC = grep {not m(/usr/local)} @INC; }use Wx; Wx::SearchCtrl->new->SetDescriptiveText("foo");'
Where the BEGIN{...} is just necessary to shadow the modules I manually installed from CPAN, which would otherwise load my own copy of Wx.
On a virgin ubuntu, this would cause the same problem:
perl -MWx -e'Wx::SearchCtrl->new->SetDescriptiveText("foo");'
This is an issue with the libwx-perl package. I could reproduce the bug with:
perl -e'BEGIN { @INC = grep {not m(/usr/local)} @INC; }use Wx; Wx::SearchCtrl- >new->SetDescri ptiveText( "foo"); '
Where the BEGIN{...} is just necessary to shadow the modules I manually installed from CPAN, which would otherwise load my own copy of Wx.
On a virgin ubuntu, this would cause the same problem:
perl -MWx -e'Wx:: SearchCtrl- >new->SetDescri ptiveText( "foo"); '