in reply to Problem with using XBase
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Problem with using XBase
by DingoBaby (Initiate) on Jan 25, 2002 at 03:28 UTC | |
by VSarkiss (Monsignor) on Jan 25, 2002 at 04:11 UTC |