Re: [Pdl-devel] CPAN obsolete version of PDL

2015-04-14 Thread Christian Soeller
Hi Ed et al, I will be happy to do this, the trickiest will be to remind myself of the CPAN interface and login details. Can you guys provide some quick pointers? Cheers, Christian -- Christian Soeller, Dept. of Physiology, Univ. of Auckland Sent with Sparrow (http://www.sparrowmailapp.com/?

[Pdl-devel] 2 slices.pd questions

2015-04-14 Thread Derek Lamb
1) In the current git, where index() is pp_def'd in slices.pd, there is a funny $a =BadCode => at line 239 that I don't understand. It was introduced by this commit [1]. My guess is the $a is wrong but harmless, but I wanted to check. 2) Also at line 3238 of slices.pd there is a declarati

Re: [Pdl-devel] 2 slices.pd questions

2015-04-14 Thread Craig DeForest
That "$a = " appears to be my problem, since it's my commit. It is "harmless". I would've expected it to be nailed by "use strict" - but I don't think the environment in which the pp_def call is running, is using strict. The "IV" declaration should probably be changed to a "STRLEN". The "len"

Re: [Pdl-devel] 2 slices.pd questions

2015-04-14 Thread Ed
$a and $b are problematic in relation to "use strict" because they are exceptions; they are grandfathered in as always "ok" because they are the special variables used in "sort" functions. If you must have generic variable names, PLEASE use $x and $y etc. Even better, take a moment, and have me