but the compiler complained it could not find SimpleApp.pm
GUI packages, which are wrappers around C classes, seem to use all the
techniques of perl5. I dont understand them to find out what is going
on, or to isolate what the error so as to put it into a test.
In general, it seems to me that for there to be "full" use of perl5
modules in perl6, the useage in perl6 should be the same as in perl5
(bar the minor changes in syntax). Thus if
is sufficient in perl5 for Wx::SimpleApp to be a recognised namespace in
the program and for the compiler to know where to go to get
Wx::SimpleApp->new, then in perl6 the same should be true, viz.,
Steffen Schwigon wrote:
Richard Hainsworth <[EMAIL PROTECTED]> writes:
my $app = Wx::SimpleApp.new;
my $frame=Wx::Frame.new(undef, -1, 'Hello world!');
The following is the result:
*** No compatible subroutine found: "&Wx::SimpleApp"
at wxtest.p6 line 2, column 1-28
Is the perl6 wrong?
I have also tested
use perl5:Wx <SimpleApp>;
Maybe an additional
? I'm just guessing...