Hello, > > I get a strange behavior when I use a sub that does not contain any [++] > block: > > ------------------------------------------------------------------------- > [$ sub definedSub $] > [#+ 'hello' +#] > [- print OUT " IN ROUTINE\n"; -] > [$ endsub $] > Here is the output of the routine 'definedSub': > [- definedSub; -] > ------------------------------------------------------------------------- > > produces nothing. > > But if I uncomment the 'hello' line, then it works as I expected and > produces:
I works as soon as there is any output (also literal text works) before the print OUT inside the sub. This is a bug of Embperl, but isn't so easy to fix, so I put it on the TODO list for now 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]