Logged In: NO

A better work around?

Use XML::Twig.
It's far more powerful