On 11/4/2010 1:59 PM, P Kishor wrote: > Pursuant to > > On Thu, Nov 4, 2010 at 7:42 AM, Chris Marshall<[email protected]> wrote: >> (3) I suggest debugging this type of problem >> in the pdl2 or perldl shell. >> >> One can cut and paste the problem code a >> line at a time into the interactive shell and >> check that the values and algorithm are doing >> what you expect/desire. > > is it possible to run an entire perl program in the pdl2 shell? I am > assuming I would have to call the program with its complete path.
It depends on what you mean to run a program in the shell. You can use the shell escape to run any program *from* the pdl2 or perldl command line. If it is a perl program/script you can "do" the file. > and, second, you know how PDL responds with "TOO LONG TO PRINT" for > large piddles. Is that limit hard coded in the source code, and can > that limit be over-ridden at runtime? Yes it is hard coded. Look for the string "TOO LONG TO PRINT" in Core.pm and Complex.pm and edit the 10000 to whatever value you wish. --Chris _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
