<addr> <city/> </addr>
eval { $details{city} = $elt->first_child('address')->first_child('city')->te +xt; };
dies with "Can’t call method “text” on an undefined value"
shouldn't the eval block have worked and not allowing to die?
In reply to XML::Twig and Eval by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |