Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Debugging a sort in PDL routine

by etj (Chaplain)
on Jun 26, 2022 at 02:47 UTC ( #11145062=note: print w/replies, xml ) Need Help??


in reply to Debugging a sort in PDL routine

Now (in 2022) this probably works fine. An ndarray in Perl is a blessed scalar ref, so naively using its value risks its memory address and/or the string value being used. In the latter case, that would (if it has "[]" around it) be something Perl thinks is a non-numeric value.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2022-08-08 10:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?