use strict;
use warnings;
use Tkx
my $mw=Tkx::widget->new
....
....
....
Tkx::MainLoop;
And this is how you invoke the Tk module (run "perldoc Tk" from your shell for more info):
use strict;
use warnings;
use Tk;
my $mw=MainWindow->new();
...
...
...
MainLoop;
Don't forget to check perldoc for each one of these modules, it can potentially give you basic information that could enable you to find where the error is yourself, if you couldn't then post that code here for us please. Have a nice Perl journey..
Excellence is an Endeavor of Persistence.
Chance Favors a Prepared Mind.
|