You didn't provide a complete code snippet which demonstrates your problem, but from your code it
looks like you have the right concept. However, from the error message you provided, it says you have "too many arguments", and just from
my intuition, I think the problem is that you say you have just 2 columns, yet you are trying to itemCreate 4 in your add($path).
Related to that, and I'm not sure about it, but if you know that you have 4 columns
in your subsequent data, but only 1 initially, you may want to create that first row with 4 columns with the last 3 empty, thereby making available for itemConfigure. Otherwise, you will need to figure out how to change that entry from a 1 column to a 4 column path. I hope that makes sense.
Another possible problem is that you may be running into conflicts with your 2 timers. Where 1 timer is clearing out data while another is trying to write, but we don't see what your code is actually doing. Can you make a small running example with some fake data, that demonstrates your problem?
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.