Question: I have an array(lets call it X) and X contains arrays. I want to push an element(a string) into an array that is inside of X.
I've tried searching for quite a while and all i find are people trying to push arrays inside of other arrays.

I've tried the following code:  

```
push(@X[0],$element);

```

Which gives me the error:  

> 
> Experimental push on scalar is now forbidden at perlscript.pl line 30,
>  near "$element)"
> 
> 
> 

I'm on perl 5 version 26.

Answer: 
I think that this does what you want:

```
push @{ $X[0] }, $element;

```
Like everybody mentioned already, `push @{ $X[0] }, $element;`.

Since you say you are using v5.26, you can also use postfix dereferencing:

`push $X[0]->@*, $element;`