in reply to How do I print XML to a file with Twig?
Very easy: pass a filehandle to print:
open( XML_OUT, ">output.xml") or die $!; $twig->print( \*XML_OUT);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How do I print XML to a file with Twig?
by Anonymous Monk on Jan 20, 2003 at 19:19 UTC |