Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: jbrowseentry using hashref does not seem to work

by Kafka (Acolyte)
on Mar 31, 2016 at 12:50 UTC ( [id://1159197]=note: print w/replies, xml ) Need Help??


in reply to Re: jbrowseentry using hashref does not seem to work
in thread jbrowseentry using hashref does not seem to work

You see the key when you press the button?
i.e. not the value that appears in the listbox but the hidden key (in this case fruit type) that corresponds to the chosen color.
I see just the color selected when I press the button.

Replies are listed 'Best First'.
Re^3: jbrowseentry using hashref does not seem to work
by flexvault (Monsignor) on Mar 31, 2016 at 17:15 UTC

    Kafka,

    I'm using your script on a monochrome Xterm, so I don't see the color change. When I click the button, I get:

    Var = purple, Get Result purple

    Are you looking for something else?

    Regards...Ed

    "Well done is better than well said." - Benjamin Franklin

      It was supposed to print the key value. i.e., grape instead of purple.

      According to the description the textvariable is supposed to get the key while the listbox should display the value of the hash

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-03-29 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found