Help for this page

Select Code to Download


  1. or download this
    @my_list = (3, 5, 2, 9);
    
    for $i (0 ..$#my_list) {
       print $my_list[$i]."|";
    }
    
  2. or download this
    3529
    
  3. or download this
       print $my_list[$i]."XX";
    
  4. or download this
    3XX5XX2XX9XX
    
  5. or download this
       print $my_list[$i]."|n";
    
  6. or download this
    3|n5|n2|n9|n
    
  7. or download this
    3|5|2|9|
    
  8. or download this
       print $my_list[$i]."\|";
    
  9. or download this
    @my_list = (3, 5, 2, 9);
    
    ...
       ... a bunch more stuff...
    }
    print $my_id_list;
    
  10. or download this
    #trim trailing delimiter
    $my_id_list =~ s/\|$//;