ndwg has asked for the wisdom of the Perl Monks concerning the following question:
produces this output:use Tk; my $mw = MainWindow->new;
The trouble is, I can't seem to trap it with an "eval", the process exits anyway. The only option I see is to fork before the Tk code, and have the parent watch the output of the child, but I would like to avoid having an extra process hanging around. Are there any other options? What am I missing?X connection to remotehost:10.0 broken (explicit kill or server shutdo +wn).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Handle Tk "X connection broken" gracefully?
by jasonk (Parson) on Feb 13, 2003 at 20:08 UTC | |
by ndwg (Beadle) on Feb 13, 2003 at 20:28 UTC | |
by graff (Chancellor) on Feb 14, 2003 at 03:15 UTC | |
by jonadab (Parson) on Feb 14, 2003 at 13:24 UTC | |
by jasonk (Parson) on Feb 14, 2003 at 03:21 UTC |