why dont you try something like below if (! defined $WCkey) cheers srikrishnan [download]
In reply to Re^2: check undef by srikrishnan in thread check undef by Sun751