Hi,
By the way, how to return value from a subroutine defined with [$sub$][$endsub$]. It seems returning nothing now.
Yes, it returns always zero. It's already on the todo list to return a value. Until then you can modify the args of the subroutine
[$sub foo$]
$_[0] = 5 ;
[$endsub$]
[- foo ($a) ; -]
foo returned [+ $a +]
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
---------------------------------------------------------------