in reply to Twig Question: Create a new XML doc using twig?
Unless I'm missing the point, all you need to do is add the filehandle reference to your print statement.
Update:Removed quotes per GrandFather's comments. My apologies on the typo.
To print to two files, do this with two filehandles.$root->print($file_handle);
Update:Removed quotes per GrandFather's comments. My apologies on the typo.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Twig Question: Create a new XML doc using twig?
by GrandFather (Saint) on Mar 23, 2009 at 02:36 UTC |
In Section
Seekers of Perl Wisdom