in reply to Re^2: XML::Twig and Eval
in thread XML::Twig and Eval

IIRC, in your example, there's no text on the element "city", so it will be undef.

Also eval seems to indicate that if you're using SIG{__DIE__} within your code, you'll want a local handler inside the eval.