No, I don't *directly* modify the variable ... however I let the *underlying* Tk system modify it. In the optionmenu call I set the -variable option to a reference to $info, and that allows $info->{subdir} to be updated as the selection in the optionmenu (a drop down list) is made ... and I'm pretty sure this works. In the error message the string that it reported matched exactly with the one I selected in the optionmenu.
Sorry this has taken up so much space.
In reply to Re: Re: Can't use string as HASH ref
by dimmesdale
in thread Can't use string as HASH ref
by dimmesdale
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |