in reply to Problem with CGI::Pretty

You are using the wrong tool, try XML::Writer instead:
use strict; use warnings; use XML::Writer; my $c = XML::Writer->new; $c->startTag('text:p','text:style-name'=>"Standard"); $c->characters('Hello'); $c->endTag('text:p'); $c->end;
I also recommend that you get a copy of Perl and XML and/or XML and Perl.

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)