Gerald,
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.
eg. production example (all one line):
[+ sprintf('%4d', $item->ctr) +] [+ ' ' x ($item->level * 2) +] [+ $item->label +] [http://dmoz.
org/e
> Back to my suggestion, wouldn't this be more readable?
>
> [$ foreach $i ( 1..5 ) $]
> [+ $i +] [$ nop $]
> [$ endforeach $]
>
This [$ nop $] seems to highly magical to me. It depends on a certain way
that Embperl uses to strip blank lines, which may change in the future
(actualy I already ha