Monks,
I have struggled for close to three hours but I am afraid I am not making any progress. I have a key/value table populated by a configuration file. I would like to have the capability to edit the values if possible and manipulate them later in a my data structure. Here's part of the code I am using:
$data{$fields[$tag][0]}{'entry'}= $data{$fields[$tag][0]}{'frame'}->En
+try(-takefocus => 1,-width => 60, -textvariable=>\$data{$fields[$tag]
+[1]}{'value'})
->pack(-side => 'left', -fill => 'y');
my $input = $data{$fields[$tag][0]}{'entry'}->get($f{$fields[$tag][1]}
+{'value'});
print $input;
I am getting this error:
wrong # args: should be ".frame.pane.frame.frame.entry get" at c:/Perl/site/lib/Tk.pm line 250, <DATA> line 35.
How can I update my data structure with new entry information? Are there other alternatives to get? Thanks a million.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.