fork download
  1. #!/usr/bin/perl
  2. # your code goes here
  3.  
  4. use strict;
  5. use warnings;
  6.  
  7. my $z = [];
  8. $z->[0] = $z;
  9. $z->[0]->[0]->[0]->[0]->[0]->[0]->[0]->[0]->[0]->[0]->[0]->[0]->[0]->[0]->[0]->[0]->[0]->[0]->[0]->[0]->[0]->[0]->[21312] = 5;
  10. $z->[0]->[0]->[0]->[0]->[0]->[0]->[0]->[0]->[0]->[0] = 1;
  11.  
  12. print $z->[0], ", ", $z->[21312], "\n";
  13.  
Success #stdin #stdout 0s 6192KB
stdin
Standard input is empty
stdout
1, 5