in reply to help using packForget()
These warnings are coming from strict
the idea of local $boom is to give the global $boom a local value so when you speak of $boom, here, it's a package global.
Also, If i recall, you can combine the calls to ->configure and ->new() when creating the widgets when using Tk to get a call somewhat like
the trick there being to do it in the right order...$boom->Button((-text=>'Yes',-command=>\&des)->pack()
Sun Apr 29 04:30:14 UTC 2007 jonadab, mentions that what I say in relation to local is q{ if not outright wrong, is at least misleading }, I'd rather go with "over simplified". I am happy to stand corrected and point out that Coping with Scoping does a far better job of explaining that I ever will.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: help using packForget()
by jonadab (Parson) on Apr 28, 2007 at 15:36 UTC |