Perl/Tk

Michael Fowler wolfm at pobox.alaska.net
Wed Apr 28 23:31:10 CDT 1999


On Tue, Apr 27, 1999 at 09:01:29PM -0800, Dave Pomeroy wrote:

[snip]

> #!/usr/bin/perl
> use Tk;
> my $mw = MainWindow->new;
> $mw->title( "Hello World" );
> $mw->Button(-text => "Done", -command => sub {exit})->pack;
> Mainloop;

It's MainLoop, or better yet, Tk::MainLoop.

[snip]


Respectfully,
Michael
--
There isn't a mome rath alive that can outgrabe me.
--
===============================================================
Mailing list info:  If at any time you wish to (un|re)subscribe to the list send the
request to majordomo at hfb.pm.org.  All requests should be in the body, and look
like such
                  subscribe anchorage-pm-list
                  unsubscribe anchorage-pm-list



More information about the Anchorage-pm mailing list