We don't bite newbies here... much | |
PerlMonks |
Re: Conditional loading of methodsby etj (Deacon) |
on Jun 06, 2022 at 00:08 UTC ( [id://11144419]=note: print w/replies, xml ) | Need Help?? |
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 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.
In Section
Seekers of Perl Wisdom
|
|