Spidy has asked for the wisdom of the Perl Monks concerning the following question:
When I call it, I have:sub quit { $_[0]->destroy; }
However, it is giving me an error. Does anyone know how I could do this without creating a sub for everything I want to destroy?&quit('$windowname')
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dynamically destroying a window in Tk?
by Ytrew (Pilgrim) on Dec 05, 2004 at 23:24 UTC | |
by Spidy (Chaplain) on Dec 05, 2004 at 23:27 UTC | |
|
Re: Dynamically destroying a window in Tk?
by Koosemose (Pilgrim) on Dec 05, 2004 at 23:19 UTC | |
|
Re: Dynamically destroying a window in Tk?
by Mr. Muskrat (Canon) on Dec 06, 2004 at 02:30 UTC | |
|
Re: Dynamically destroying a window in Tk?
by Spidy (Chaplain) on Dec 05, 2004 at 23:25 UTC | |
by Koosemose (Pilgrim) on Dec 06, 2004 at 00:17 UTC | |
by Spidy (Chaplain) on Dec 06, 2004 at 23:15 UTC | |
by castaway (Parson) on Dec 07, 2004 at 08:17 UTC | |
by Spidy (Chaplain) on Dec 07, 2004 at 23:28 UTC |