Guest User

Untitled

a guest
Jan 20th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. @array = (0..10, 12);
  2.  
  3. print "@array[@array]";
  4.  
  5. Use of uninitialized value in join or string at
  6. /home/VAR121/Program/Practise_Perl/Arrays.pl line 9.
  7. 0 1 2 3 4 5 6 7 8 9 10
  8.  
  9. print "@array[@array[@array]]";
  10.  
  11. output as: `0 1 2 3 4 5 6 7 8 9 10 0` Use of uninitialized value in join or string at
  12. /home/VAR121/Program/Practise_Perl/Arrays.pl line 9.
  13.  
  14. print "@array[@array[1,2,3]]";
  15.  
  16. 1 2 3
Add Comment
Please, Sign In to add comment