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

-------------------------------

John

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

Reply via email to