Hi, > > > Whatever context this subroutine is called in, the return statement is always evaluated in scalar context, so if I called this with: >
That's true. I think I should fix it and make behave it like in Perl. BTW. 1.3.4 isn't able to return values from subs at all (only as parametrer per reference) and when I designed 2.0 I wanted to change this, but didn't have done any test on it so far. So it more suprising that it works at all :-) I put it on the TODO list, so we get correctly working return args for the next release 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]
