Washizu has asked for the wisdom of the Perl Monks concerning the following question:
So I tried a the basic MainWindow example script and came up with the same error.couldn't connect to display ":0" at usr/local/ActivePerl-5.8/lib/Tk/Ma +inWindow.pm line 55
The Tk module is up to date, so I'm not sure what is going on here Any ideas?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;
-----------------------------------
Washizu
Odd Man In: Guns and Game Theory
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tk OSX couldn't connect to display :0
by neniro (Priest) on Nov 26, 2006 at 18:47 UTC | |
by Washizu (Scribe) on Nov 26, 2006 at 20:34 UTC | |
|
Re: Tk OSX couldn't connect to display :0
by Fletch (Bishop) on Nov 26, 2006 at 18:56 UTC | |
by chargrill (Parson) on Nov 26, 2006 at 22:00 UTC | |
by andyford (Curate) on Nov 27, 2006 at 01:28 UTC | |
by chargrill (Parson) on Nov 27, 2006 at 04:39 UTC | |
by Fletch (Bishop) on Nov 27, 2006 at 02:03 UTC | |
|
Re: Tk OSX couldn't connect to display :0
by Anonymous Monk on Aug 22, 2015 at 23:21 UTC |