in reply to Conditional loading of methods

I think that trying to conditionally have non-standard-Perl syntax conditionally is likely to be a bad idea. PDL::NiceSlice continues to be the gift that keeps on being a maintenance burden out of all proportion with its utilitygiving (though it is genuinely an interesting idea).

My recommendation for this situation would be to use the conventional slice method, and possibly (as also suggested) to move the conditional stuff in any case to a separate module.