I'm trying to run this simple Perl script and getting this error.
Please excuse my noobishness but I'm learning Perl and what is a Perl module?
Code:
#!/usr/local/bin/perl
use Tk;
# Main Window
my $mw = new MainWindow;
my $label = $mw -> Label(-text=>"Hello World") -> pack();
my $button = $mw -> Button(-text => "Quit",
-command => sub { exit })
-> pack();
MainLoop;
Please excuse my noobishness but I'm learning Perl and what is a Perl module?