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

2015-04-14 Thread Ed
From: Craig DeForest Sent: Wednesday, April 15, 2015 4:39 AM To: Derek Lamb Cc: pdl-devel Subject: Re: [Pdl-devel] 2 slices.pd questions 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

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"

[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