R
Robin
in the following program...
#!/usr/bin/perl
use Wx;
my $m = Wx::SimpleApp -> new;
my $f = Wx::Frame -> new (undef, -1, "hello world");
$f -> Show();
my $button = Wx::Button -> new ($f, -1, "Exit");
EVT_BUTTON ();
$m -> MainLoop ();
sub o () {
exit ();
}
--
why does perl give me the error undefined subroutine
&main::EVT_BUTTON called at line 9?
I am really stumped by this and looked on the web for answers but
could not find anything
Thanks.
yea.
-Robin
#!/usr/bin/perl
use Wx;
my $m = Wx::SimpleApp -> new;
my $f = Wx::Frame -> new (undef, -1, "hello world");
$f -> Show();
my $button = Wx::Button -> new ($f, -1, "Exit");
EVT_BUTTON ();
$m -> MainLoop ();
sub o () {
exit ();
}
--
why does perl give me the error undefined subroutine
&main::EVT_BUTTON called at line 9?
I am really stumped by this and looked on the web for answers but
could not find anything
Thanks.
yea.
-Robin