Do you know where your variables are? | |
PerlMonks |
Re: cleaning up code with "do" ?by schweini (Friar) |
on Aug 18, 2004 at 22:47 UTC ( [id://384141]=note: print w/replies, xml ) | Need Help?? |
Ok. replacing "do" or "eval `cat file.pl`" with "require" things got a lot better. but, for future reference: i think(!) the main problem is/was Tk's waitVariable. if i create the widget in one file, and watch a waitvariable with code from another file, i get to wait forever, it seems. the "waiter"-code simply doesnt get it. i'll try to create a simple test-case, and ask the Tk-guys about that....
In Section
Seekers of Perl Wisdom
|
|