Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Tk Listbox problem

by Erez (Curate)
on Feb 19, 2009 at 08:17 UTC ( #744972=note: print w/ replies, xml ) Need Help??

in reply to Tk Listbox problem

You're calling &changeList before the ListBox is actually rendered (with MainLoop). There is nothing *to* delete when it's running. Same error will be thrown on the insert method.

Also, use eq instead of == when you're comparing strings (e.g. if ($system eq "SNES"))

"A core tenant of the greater Perl philosophy is to trust that the developer knows enough to solve the problem" - Jay Shirley, A case for Catalyst.

Comment on Re: Tk Listbox problem
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://744972]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2015-10-04 05:02 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (98 votes), past polls