Help for this page

Select Code to Download


  1. or download this
    @ar1 = split(';', $num1);
    @ar2 = split(';', $num2);
    
  2. or download this
    # given: @num = ("1;2;3", "4;5;6");
    $array[0] = [1, 2, 3];
    $array[1] = [4, 5, 6];
    
  3. or download this
    @array = map { [ split(';', $_) ] } (@num);