Re: local variable and event handler problem



* Jens Wilke <jens wilke org> [2003-10-31 04:33]:
How can i make the locally defined variables available for the
event handler?

Repeat after me: I want to use "my", not "local".

Then, please read http://perl.plover.com/FAQs/Namespaces.html

local doesn't do what you think it does. Also, you would be well
advised to learn working under "use strict;"; that article will
help.

-- 
Regards,
Aristotle
 
"If you can't laugh at yourself, you don't take life seriously enough."



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]