in reply to Re: scope and undef
in thread scope and undef

An aid in finding any circular references could be Devel::Cycle.

lodin