If you could show the code to test.sl, that will help. However here
is what you do:
# to get a static field
$field = [com.eric.Eric fname]
# to set a static field
setField(^com.eric.Eric, "fname", $value);
# an instance field
$field = [$eric fname];
setField($eric, "fname", $value);
You can also import your package with:
import com.eric.Eric;
$field = [Eric fname];
The ^ character is used to get a Scalar that contains Class object
for the literal class. Its the same as [Class forName: "somePath"]
-- Raphael