in reply to Script printing undesired format

It may be my recent reply (Re: Opening a file, editing, copying to another) to your previous node (Opening a file, editing, copying to another) will help.

If that doesn't provide the key, frame your question around some sample code we can run without generating a bunch of files - we are lazy you know. See I know what I mean. Why don't you? for some sample code creation hints.


DWIM is Perl's answer to Gödel