It looks like just the kind of thing use strict would have caught: you're assigning a value to $lastname (lowercase) and then testing $LASTNAME (uppercase).
Also, if you're testing strings for equality, you should be using eq, not ==. In sum, your line should look like this:
$table->update_record_hash($_, TEST => "It works") if $lastname eq "Smith";
HTH
In reply to Re: Problem with using XBase
by VSarkiss
in thread Problem with using XBase
by DingoBaby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |