Ilia,

sorry I forget to answer this...

>
> wrapping the endforeach up one line is not an option for me. The example I
> gave is a simple one. Imagine many embperl constructs all on one line.
>

...but you can always put your line breaks inside the [ ] blocks, e.g.

(not all one line):

[+ sprintf('%4d', $item->ctr) +] [+ ' ' x ($item->level * 2)
+] <a href="http://dmoz.org/[+ $item->fullPathEsc +]">[+ $item->label
+]</a [a href="http://dmoz.org/editors/editcat.cgi?cat=[+ $item->fullPathEsc
+]">edit</A>] [$ if
$fdat{showeditors} && $item->editors $]  [- @editors = @{
$item->editors }; -]  [$
foreach  $editor ( @editors ) $]<A
href="http://dmoz.org/editors/profile.cgi?editor=[+ $
editor +]"><font color="green">[+ $editor +]</font></A> [$ endforeach $]  [$
if scalar @editors > 1 $]  <A
href="http://dmoz.org/editors/send.cgi?toeditor=[+
join('+', @editors) +]"><B><font color="green">all</font></B></A>[$ endif
$][$ endif $]


of course you will find better point where to enter the line break

Hope it's now more clear what I mean

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



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

Reply via email to