# The following was supposedly scribed by
# PerlDiscuss - Perl Newsgroups and mailing lists
# on Tuesday 03 August 2004 02:40 pm:

>Whats strange to me is that the SvROK, SvTYPE, and av_len functions all
>indicate the array is fine and as expected.  However cant get SvIVx (or
>SvIV for that matter and I know it will do the shift twice if I use it) to
>return the integers in the array.

What's strange to me is that it does this:
$perl inline-av_shift.pl
array in:    1 2 3 4 5 6 7 8 9 10
array in C:  1 2 3 4 5 6 7 8 9 10

What's maybe stranger is that this change
  dump_arrref($a);
  print "foo\n";

Does this:
$perl inline-av_shift.pl
array in:    1 2 3 4 5 6 7 8 9 10
foo
array in C:  1 2 3 4 5 6 7 8 9 10

I'd check your build directories (./_Inline/ or ~/.Inline).  Maybe you have a 
stale build from an earlier version.

--Eric

Reply via email to