http://qs1969.pair.com?node_id=481870


in reply to How do I create non-breaking space (  ) with HTML::Element?

I'd take a look at the ~literal pseudo-element in the docs .. that looks like it should be able to do what you need.

Untested, but ..

my $literal = HTML::Element->new('~literal', 'text' => ' ' ); my $element = HTML::Element->new('td', "class"=>"zwischanspalte"); $element->push_content($literal);
might give you some ideas :)

Hope that helps ...