At Wed, 10 Jul 2002 11:38:40 +0100, James Ponder wrote:
> The only reason I'm using Embperl subroutines is that I want to
> import a bunch of common routines, like so:
>
> Execute ({ inputfile => 'share.epl', import => 1 });
>
> However this didn't import perl subroutines, so I switched over t
cc:
09/07/2002 20:05
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 r
Hi,
I think there may be a bug in your subroutine handling code, or at least an
unexpectedness that I can't find documented:
[$ sub testsub $]
[-
my @a = ('foo', 'bar');
return @a;
-]
[$ endsub $]
Whatever context this subroutine is called in, the return statement is always
evaluated in s