David Mertens writes:
>
> At this point we'll need to have the code written,
> tests written, and documentation written.
The PDL git has dispatch support in PDL::new to
support a string argument for data to create the piddle
from. See help PDL::new for what is needed to flesh
out this functionality...
> Do you have any tuits for this?
> I'd be happy to help with any of those pieces.
That would be great! I tried to get enough done that
others could keep the development moving even if I
had to turn to other things. Two things I can think of:
(1) clean up the example implementation of
PDL::Core::new_pdl_from_string so the eval
is a bit less naked (maybe use eval "pdl($value)"
instead of just eval "$value" which should a least
be as safe a the current pdl constructor is to bad
arguments.
(2) Implement the matlab/octave style [] constructor.
It would be nice if the implementation could handle
either a string of a valid non-string argument to pdl
or a more relaxed form where whitespace can take
the place of commas.
(3) Extra credit for support of semicolons as vertical
commas [ 1 2 3; 4 5 6 ] is [ [ 1, 2, 3], [ 4, 5, 6] ]
in PDL-speak.
Cheers,
Chris_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl