# New Ticket Created by David Warring # Please include the string: [perl #128000] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=128000 >
Basically, I'd like the following code to work. Currently, you can't do any arithmetic on a pointer such as ++$p on a pointer, or $p += 4 use NativeCall; my CArray[uint16] $a .= new: 10, 20 ... 100; # point to $a[0] (working) my $p = nativecast(Pointer[uint16], $a); # should point to $a[1] ++$p; $ should point to $a[5] $p += 4;