in reply to Re: Tk warning using curselection() with ActiveState 5.8.4
in thread Tk warning using curselection() with ActiveState 5.8.4
I don't really mind doing this in two lines, but I don't understand why this used to work but now doesn't.$choices[ $dialogLB->curselection ] #can't use arr ref as index value $choices[ @{ $dialogLB->curselection } ] #index value is size of array $choices[ @$dialogLB->curselection ] # not an array ref $choices[ $$dialogLB->curselection ] # not an scalar ref
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Tk warning using curselection() with ActiveState 5.8.4
by tachyon (Chancellor) on Sep 30, 2004 at 02:55 UTC | |
by pg (Canon) on Sep 30, 2004 at 04:00 UTC | |
|
Re^3: Tk warning using curselection() with ActiveState 5.8.4
by Anonymous Monk on Sep 30, 2004 at 11:42 UTC |