I'm pretty sure the method you want is $string = $status->value(). That method is shown on this page XML::XPath::Literal. You were so close!!
The auto string conversion from ikegami's post (below) is news to me. I'm going to use that from now on, where I don't need to be explicit.
-Paul
In reply to Re: XML::Xpath: How to get string from literal
by jettero
in thread XML::Xpath: How to get string from literal
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |