Damn. That'll teach me to cut 'n' paste :-/ Try:

    print "<root>\n";
    print while <>;
    print "</root>\n";

/R

"Rob Dixon" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> OK, I think you need this:
>
>     print "<root>\n";
>     print while <>;
>     print "</root>\n" and close ARGV if eof;
>




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to