in reply to Re: Array of TK::Checkbuttons not acting appropriately
in thread Array of TK::Checkbuttons not acting appropriately
This is the line that is erroring
if ($checkboxvalue[$t] == 1)This is the error
Use of uninitialized value in numeric eq (==) at BPP/BILL.pm line 148.I declare @checkboxvalue = () as such.
Should I do this also $checkboxvalue$t = 0; ?
I dont' understand why it is "uninitialized".
Update:
It seems that when I click the checkbox the onValue is not being set. So below is my declaration of the Checkbutton
$checkbox[$t] = $bill_table->Checkbutton(-variable=>\$checkboxvalu +e[$t]);
Perhaps -variable is not what I should use. I'm going to read more on the Checkbutton options
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Array of TK::Checkbuttons not acting appropriately
by GrandFather (Saint) on Oct 02, 2006 at 02:50 UTC |