On Thu, Dec 5, 2013 at 12:44 PM, Craig DeForest <[email protected]> wrote: > > In the most recent release and current git, slice() does axis > dicing automatically if one of the slice specifiers is a PDL -- so > you can say > > $xyz->(:,$tri((0))) # Niceslice way > > or > > $xyz->slice(":",$tri->slice("(0)")) # Slice with string spec. > > or even > > $xyz->slice( [], $tri->slice([0,0,0]) ); # Slice with array ref spec.
Very cool! I was trying to stick with the more portable/backwards compatible constructs. It is looking very good going forward. --Chris _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
