fork(6) download
  1. $a[12]="x"; $_="x"; s/$a[12]/y/; print "$_\n";
  2. $a[123]="x"; $_="x"; s/$a[123]/y/; print "$_\n";
  3.  
Success #stdin #stdout 0s 6000KB
stdin
Standard input is empty
stdout
y
x