in reply to Re^2: [Perl6] Problem using Inline::Perl5 (Wx)
in thread [Perl6] Problem using Inline::Perl5
Hi,
Does the perl5 program run from perl5?
If so, then it sounds like a bug in Inline::Perl5 to me :)
Also, the two programs arent exactly equivalent, missing Wx.import(':allclasses'); or some such
update: odd, saw no docs the other day at https://github.com/niner/Inline-Perl5 , this would be equivalent use Wx:from<Perl5> <:allclasses>; so the new program
use Wx:from<Perl5> <:allclasses>; use Wx::SimpleApp:from<Perl5>; use Wx::Frame:from<Perl5>; my $app = Wx::SimpleApp.new; my $frame = Wx::Frame.new( Nil, -1, 'Hello, world!' ); $frame.Show; $app.MainLoop;
|
|---|