Gerald Richter wrote:
>
> > Gerald, I am having a problem with [$ sub $] and EmbperlObject. Let me
> > say first that this minimal case does in fact work as it should. There
> > is something inexplicable going on however in my (much larger) project.
> > If you look at this minimal case though I think you will see why I don't
> > think this is a problem with my code.
> >
>
> Neil, I didn't had the time to look thru that in detail, but I do it as soon
> as possible and let you know
Gerald, I have been playing around with this thing and I have discovered
something that may be of some use in finding the bug. When I call the [$
sub foo $] subroutines via the simple [- foo -] form, the problem
occurs. However when I call the subroutine using the form [- Execute
('#foo') -] the bug does not manifest. I believe the two forms should be
equivalent in behavior (for simple cases, not involving state or
recursion). The calling mechanisms are obviously very different, it's
just interesting to note that the simple Perl method of calling the [$
sub $] seems to get confused with another subroutine of the same name,
in a completely different directory subtree.
Also, I have noticed that even calling a non-existent subroutine name
does not appear to generate an error, when using the [- xxxx -] form.
There is simply no output. However the [- Execute('#xxxx') -] form does
generate an error.
I hope this is of some help...
-Neil
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]