I've just uploaded MooX::PDL2 to CPAN [1]. It provides a fairly tight integration of a piddle into a Moo object, thanks to the (undocumented?) foresight of the early PDL developers.
The fun part is that you can use Moo object triggers to change the underlying piddle when an object attribute changes. [3] provides an example of a class representing a polynomial which changes the piddle containing the evaluated polynomial when one of the polynomial input parameters is changed. [1] https://metacpan.org/release/MooX-PDL2 [2] https://metacpan.org/source/CHM/PDL-2.018/Basic/Core/pdlcore.c.PL#L441 [3] https://metacpan.org/source/DJERIUS/MooX-PDL2-0.01/examples/PolyNomial.pm ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ pdl-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pdl-general
