in reply to Re: Globalize the XML writer object
in thread Globalize the XML writer object
Hi, I tried by declaring it as "Our". But the case is : Lets say :
For this the xml file is created but no data has been written into it. Please clarify.Package foo sub create xml{ our $XmlWriterObject = new XML::Writer( DATA_MODE => 1, DATA_INDENT => + 4, OUTPUT => $Output ); } package Bar; sub { $Foo::XmlWriterObject->endTag("Config"); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Globalize the XML writer object
by roboticus (Chancellor) on Sep 19, 2011 at 11:01 UTC |