On May 4, 2010, at 3:00 PM, Daniel Carrera wrote:
> Here is another idea: Make the "perldl" program able to receive a PDL
> script as input and execute it.
>
> ~ $ perldl myprogram.pdl
>
>
Already been done :-) In fact, the "pdl" executable exists only to
chain into perl so you can run pdl scripts from the command line:
#!/usr/bin/pdl
print "This works just like"
print " the command line\n"; BEGIN {" entering input from" }
print (" Everything gets executed"
." the moment the line completes, except for";
print " multiline constructs.\n"
);
Except that the newer ReadLine sees to break it now. (Oh, bother. A
new test case to add and bug to fix.)
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl