sybperl-l Archive

I do a ct_sql query that gets one value. I have to do a foreach loop to
assign it to a variable. I've tried several different variations on how
it was done under DBlib but can't get it to work with CTlib. How can I
assign the single value returned from a database query to a variable
without the foreach loop using CTlib?