in reply to Re^3: defined or undef
in thread defined or undef

as you suggested I have been using
print ( @rtnVal ? " not empty \n" : " empty \n" );
in many places.

I expect getCBLValue to return a list.

Maybe I should declare @rtnVal as follows:
my @rtnVal ;
And see what happens.

kd

Replies are listed 'Best First'.
Re^5: defined or undef
by kevind0718 (Scribe) on Oct 30, 2007 at 15:56 UTC
    yes if I just declare @rtnVal as follows:
    my @rtnVal;
    It works. Must check the rest of my code for this mistake.

    many thanks for your assistance

    kd