in reply to Re: Using UNDEF
in thread Using UNDEF

Almost - the if should be negated :).

if (! defined $foo_path) {...}

--MidLifeXis