From: Paul H. <hei...@cs...> - 2000-05-26 15:39:34
|
On Fri, 26 May 2000, Graham Barr wrote: > Now for writing we could do > > $dsml->open($file,"w"); > $dsml->write($entry); > $dsml->write($schema); > $dsml->close; > > The open would write the header and the close would write the footer. If you passed something like an IO::File object to open(), you might gain some flexibility if you wanted to write() to a pipe or something other than a file. Paul Heinlein hei...@cs... |