surrealistfashion has asked for the wisdom of the Perl Monks concerning the following question:
...) I can't seem to find how to write a function and pass a variable. Any suggestions on where to find the proper way of writting a function?sub close_win(var) { var->destory; } button(-command=>\&close_win($thiswindow))->pack...
edited by ybiC: s/pre/code as per Monastery convention for example code
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Functions and Tk
by bobn (Chaplain) on Aug 24, 2003 at 01:30 UTC | |
by PodMaster (Abbot) on Aug 24, 2003 at 06:07 UTC | |
by surrealistfashion (Acolyte) on Aug 24, 2003 at 02:50 UTC | |
by bobn (Chaplain) on Aug 24, 2003 at 02:59 UTC | |
by surrealistfashion (Acolyte) on Aug 24, 2003 at 03:10 UTC | |
by converter (Priest) on Aug 24, 2003 at 03:08 UTC | |
by surrealistfashion (Acolyte) on Aug 24, 2003 at 03:18 UTC | |
by surrealistfashion (Acolyte) on Aug 24, 2003 at 03:48 UTC |