Well, I think I've located the problem.  Perl 5.16
appears to have changed the way the G_KEEPERR
flag works for call_sv with G_EVAL.  It used to
append the backtrace stuff to $@ but now it only
prints the warnings which can be turned off.

I'm not planning on any changes to perldl at the
moment since the code has been around for a
long time in its current form.  If we can determine
the full set of perl versions that changed the
operation of G_KEEPERR that could be added
to the documentation and Known_problems.

--Chris

On Sun, Jul 15, 2012 at 6:24 PM, chm <[email protected]> wrote:
> Still no clue what it going on but I did
> discover that if I use carp directly (from
> use Carp) then I get the backtrace.  However,
> confess, croak, and die are "no shows".
>
> --Chris
>
>
> On 7/15/2012 10:56 AM, chm wrote:
>>
>> I just tried this on my cygwin/XP PDL-2.4.11_001
>> (i.e., my latest devel) and the error did get
>> printed.  I then tried on a SPP PDL-2.4.11 and
>> the barf was silent.  I'm trying a clean build
>> of the latest git to investigate further.
>>
>> --Chris
>>
>> On 7/10/2012 2:03 PM, John Lapeyre wrote:
>>>
>>>
>>>>  Could you give a specific test case:
>>>>  - function to run
>>>>  - which PDL shell are you using
>>>
>>>
>>> I just realized that Devel::REPL was not installed.
>>> pdl2 does in fact print an error message (takes about
>>> 4 seconds to start.) So it is pdl 1, then...
>>>
>>> -------------------------------
>>> 1 > pdl
>>> perlDL shell v1.354_001 ...
>>> ReadLines, NiceSlice, MultiLines  enabled...
>>> Reading PDL/default.perldlrc...
>>> Loaded PDL v2.4.10 (supports bad values)
>>> Note: AutoLoader not enabled ('use PDL::AutoLoader' recommended)
>>>
>>> pdl> sub t { barf "Hello World" }
>>>
>>> pdl> t
>>>
>>> pdl>
>>> -------------------------------
>>>
>>> 1 > perldl
>>> perlDL shell v1.354_001
>>> ...
>>>
>>> pdl> sub t { barf "Hello World" }
>>>
>>> pdl> t
>>>
>>> -------------------------------

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to