> From: nag [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 20, 2008 9:59 AM > To: zentara > Cc: beginners@perl.org > Subject: Re: dialog box in perl > > hi ,getting error like this for the script.. > > couldn't connect to display ":0" at > /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi/Tk/MainWindow.p m > line 55. > MainWindow->new() at ./dialog.pl line 5
This means you didn't start the X-server before you ran the script. It needs a GUI interface to connect with before it can display anything. Bob McConnell -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/