Re: Warning in Perl code: Attempt to free unreferenced scalar

2007-04-13 Thread mda
I figured it out by process of elimination. I was passing in an anonymous sub to an embperl sub and my sub did this: sub {shift->{a} . shift->{b}} when there was only one argument. So Embperl's only role here was in obfuscating the stack. -mda On Fri, 13 Apr 2007 14:05:07 -07

RE: universal @INC?

2007-04-05 Thread mda
t; > You can also use Execute ({inputfile => '...', import => 1}) to import > subs that are declared va [$sub$] Instead I'm now doing Execute ({inputfile => '...', package => __PACKAGE__}) which has the benefit (or deficit for perhaps other cases) that it'll get all symbols, not just the [$sub$] symbols. -mda - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: RE: does EmbperlBlocks really ignore html

2007-04-05 Thread mda
which might be in your > case some html. So just to confirm my understanding: if a sub uses only [- -] and returns an html value, then it can and should be called with [+ +]. alternatively, the sub can use [+ +] internally and the caller can use [- -] to call it. just don't mix the

universal @INC?

2007-04-04 Thread mda
rywhere without qualification? So I would do this in myfuncs.epl : [! use MyModule qw(func1 $VAR1); !] and then I do elsewhere [! Execute 'myfuncs.epl' !] [+ func1() +] -mda - To unsubscribe, e-mail: [EMAIL PROTECTED] F

RE: does EmbperlBlocks really ignore html

2007-04-03 Thread mda
I figured out my problem. I was using [+ my_sub() +] instead of [- my_sub() -] where my_sub was defined using [$ sub my_sub $] ... [$ endsub $] It wasn't obvious to me (nor do i see it documented anywhere), but calling such subs with [+ +] seems to wreak havoc. -mda On Tue, 3 Apr 2007 10:

does EmbperlBlocks really ignore html

2007-04-03 Thread mda
Does the EmbperlBlocks syntax really ignore everything outside of embperl block? I don't have a minimal test case yet, but it still seems to be randomly rearranging content and disappearing my table tags and whatnot. -mda ---

RE: bug in eputil.c

2007-04-02 Thread mda
d and therfore > not documented. So don't use it. Well, I didn't use it deliberately. I just misread http://www.ecos.de/embperl/pod/doc/Config.-page-2-.htm#sect_44 and thought I could set output mode to "XML". -mda - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]