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"); }
In reply to Re^2: Globalize the XML writer object
by priyaviswam
in thread Globalize the XML writer object
by priyaviswam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |