On Mon, Nov 4, 2013 at 9:30 PM, David Mertens <[email protected]> wrote:
> ...snip...
>
> Actually, that has me thinking. I wonder if we could configure
> PDL::NiceSlice to take an optional parameter to prevent this sort of thing,
> like:
>
> use PDL::NIceSlice -noderef;
>
> and/or something like this
>
> no PDL::NiceSlice -deref;
>
> (I think you can do that without quotes, but if I'm wrong, then of course we
> would simply quote those things words, and probably drop the leading dash.)
>
> CHM, what do you think? Doable?

Yes.  It might be nicer to implement something like a -checkderef
which has smarter logic and wraps things up with a runtime check
for whether something is a subref or a PDL.

--Chris

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to