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.
In reply to Re^3: XML::Twig and Eval
by jellisii2
in thread XML::Twig and Eval
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |