in reply to Re^5: tk::matchentry changing the displayed choices
in thread tk::matchentry changing the displayed choices

well played that man! Thank you i wouldnt have been able to guess that in years. the only bit i dont understand is whats the lc in $data(lc $place)?
  • Comment on Re^6: tk::matchentry changing the displayed choices

Replies are listed 'Best First'.
Re^7: tk::matchentry changing the displayed choices
by GrandFather (Saint) on Jan 21, 2008 at 23:36 UTC

    lc returns the lower case version of the string in $place. Your list is not case sensitive so the keys in the hash need to be not case sensitive. Forcing them to lc (or uc) achieves that.


    Perl is environmentally friendly - it saves trees
      Thank you very much problem solved i believe