>
> I am currently using the StarOffice HTML editor to edit my
> Embperl programs. The problem I have is that it generates HTML
> that separates lines exceeding 80 characters with a newline. This
> 'readability' feature has the effect of separating my perl
> comments into two lines, which creates syntax errors on my perl
> code because the HTML tag remover in Embperl will leave the extra
> newlines in place, making the right end of my comment lines
> appear as barewords.
>

You may use the [# #] block for longer comments


> My comment lines are shorter than 80 chars, but the HTML
> generator is stupid and will always precede them with long useless tags.
>

This shouldn't be a problem, because as long as the tags are inside a perl
block they should be removed by Embperl, before the perl code is compiled

> I'm using Embperl 1.2b7. Would this be a bug in Embperl, or has
> the tag remover been kept simple for performance reasons?
>

If the removeing of tags doesn't work as you expect, please send me an
example of what you type, what StarOffice creates out of it and what errors
you get.

Gerald


---------------------------------------------------------------
Gerald Richter      ecos electronic communication services gmbh
Internet - Infodatenbanken - Apache - Perl - mod_perl - Embperl

E-Mail:     [EMAIL PROTECTED]         Tel:        +49-6133/925151
WWW:        http://www.ecos.de      Fax:        +49-6133/925152
---------------------------------------------------------------

Reply via email to