in reply to Re: perl writing to xml file (xml::writer)in thread perl writing to xml file (xml::writer)
Yes, it is entirely equivalent. See perlop for the details.