I've just started playing with Tk.pm.  I have it installed in my personal
bin at work and now I'm trying to run the application.  I have no idea what
to expect.  Does this run from the command line?  Does it run from a
browser?  

I have tried both.  I know that it is finding Tk.pm cause after an hour or
two it isn't complaining about @INC anymore.  When I run the script from the
command line it just sits there.  When I open it in a browser the browser
justs sits there and works.

Looking for some gratification,
byron

script below-----------------------------------

#!/usr/local/bin/perl -w

use lib '/export/home/bwise/perl/lib/site_perl/5.005';
use Tk;
               
my $mw = MainWindow->new;
$mw->title("Hello World");
$mw->Button(-text => "Done!", -command =>sub{exit})->pack;
MainLoop;

----------end script



"When you sell a man a book, you don't sell him 12 ounces of paper and ink
and glue - you sell him a whole new life." - Christopher Morley

"Thanks O'REILLY." - Me





_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/


_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to 
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users

Reply via email to