Devel-PPPort
view release on metacpan or search on metacpan
* > 3. In several cases, "perl ppport.h --copy=.new" output a new file in
> which the only change was the addition of "#include "ppport.h"". In each
> case, that actually wasn't necessary because the source file in question
> already #included another source file which #included ppport.h itself.
> Would it be possible for the analyzer to follow #include directives to
> spot cases like this?
Uh, well, I guess it would be possible. But I have some concerns:
1. ppport.h is already too big. :-)
2. There is code in ppport.h to actually remove an
#include "ppport.h"
if it appears not to be needed. If it's not needed in your
included file, it might be dropped from there and moved to
the other file that included the first one. This would make
the logic much more complicated.
3. As ppport.h is configurable, it's not (always) a good idea
to put it into a file that's included from another file.
I guess I'll have to think about this a little more. Maybe I can
come up with a fancy solution that doesn't increase the code size
too much.
* On 14/12/06, Nicholas Clark <nick@ccl4.org> wrote:
> On Thu, Dec 14, 2006 at 05:03:24AM +0100, Andreas J. Koenig wrote:
>
> > Params::Validate and Clone suffer from the same cold:
>
> The same patch will make both compile and pass tests.
> I'm wondering if it might be better to totally drop SVt_PBVM and let source
> code fail to compile.
I don't think so. Because :
1. your redefinition of SVt_PBVM is probably what most XS modules want
2. anyway, if we remove it from the core, it might appear in Devel::PPPort :)
* maybe backport bytes_from_utf8() for 5.6.0 (or even before)?
* check which of the following we need to support:
amagic_generation
AMG_names
an
Argv
argvgv
argvoutgv
basetime
beginav
block_type
bodytarget
bufend
bufptr
check
chopset
Cmd
compcv
compiling
comppad
comppad_name
comppad_name_fill
copline
cop_seqmax
cryptseen
cshlen
cshname
curcop
curinterp
curpad
curpm
curstash
curstname
dbargs
DBgv
DBline
DBsignal
DBsingle
DBsub
DBtrace
debstash
debug
defgv
defoutgv
defstash
delaymagic
diehook
dirty
doextract
doswitches
do_undump
dowarn
egid
encoding
endav
envgv
errgv
error_count
errors
euid
eval_root
evalseq
eval_start
expect
fdpid
filemode
firstgv
fold
forkprocess
formfeed
formtarget
freq
generation
gensym
gid
hexdigit
( run in 2.905 seconds using v1.01-cache-2.11-cpan-af0e5977854 )