fork download
  1. #!/usr/bin/perl
  2. # your code goes here
  3.  
  4. #my @tab = (1000 .. 1010);
  5. #$values = join("|", @tab[map {rand 10} @tab]);
  6. #print($values);
  7.  
  8. #my $tab[$i] = map {int (rand(60)) };
  9. my @tab2 = map {int rand(60)} (1..10);
  10. print(join("|", @tab2));
Success #stdin #stdout #stderr 0s 3564KB
stdin
Standard input is empty
stdout
53|21|13|55|18|11|37|42|41|44
stderr
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").