Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Conditional loading of methods

by etj (Deacon)
on Jun 06, 2022 at 00:08 UTC ( [id://11144419]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11144419]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-26 09:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found