in reply to Re: defined and value is 0
in thread defined and value is 0

Many apologies, I noticed that just before you posted. Removed the key ($opts) and everything works right