I have a pointer to an array and either need to change the code considerably to make this work, or just figure out what the equivilent of the statement below is...

```
ptr = array;
*ptr++ = value;

```

So far I have most of it

```
$ptr = \@array;
$$ptr = $value;

```

but this doesn't increment the pointer. What do I do?